pub struct DataEntry {
pub id: String,
pub version: String,
pub description: Option<String>,
pub source_urls: Vec<String>,
pub sha256: String,
pub size_bytes: 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: StringExpected SHA-256 of the primary downloaded file as sha256:<hex>.
size_bytes: u64§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