pub struct DataEntry {
pub id: String,
pub version: String,
pub description: Option<String>,
pub source_urls: Vec<String>,
pub sha256: Option<String>,
pub size_bytes: Option<u64>,
pub format: String,
pub post_download_action: PostDownloadAction,
pub license: Option<String>,
}Fields§
§id: String§version: String§description: Option<String>§source_urls: Vec<String>§sha256: Option<String>Expected SHA-256 of the primary downloaded file as sha256:<hex>.
Optional: omit when the upstream file is mutable (e.g. NCBI
“current_release” pointers) or when no one has computed a real hash
yet. When set, bv data fetch enforces it strictly.
size_bytes: Option<u64>Approximate compressed size in bytes. Optional. Used as a hint for the progress bar when the server doesn’t report Content-Length; otherwise the server’s value wins.
format: StringFile format hint, e.g. "tar", "fasta_gz", "raw".
post_download_action: PostDownloadAction§license: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataEntry
impl<'de> Deserialize<'de> for DataEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DataEntry
impl RefUnwindSafe for DataEntry
impl Send for DataEntry
impl Sync for DataEntry
impl Unpin for DataEntry
impl UnsafeUnpin for DataEntry
impl UnwindSafe for DataEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more