pub struct DatasetFile {
pub path: String,
pub download_url: String,
pub size: Option<u64>,
pub checksum: Option<String>,
}Expand description
One downloadable file in a dataset archive.
Fields§
§path: StringProvider-relative file path.
download_url: StringDirect download URL.
size: Option<u64>File size in bytes when known.
checksum: Option<String>Provider checksum string when known.
Trait Implementations§
Source§impl Clone for DatasetFile
impl Clone for DatasetFile
Source§fn clone(&self) -> DatasetFile
fn clone(&self) -> DatasetFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DatasetFile
impl Debug for DatasetFile
Source§impl<'de> Deserialize<'de> for DatasetFile
impl<'de> Deserialize<'de> for DatasetFile
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
impl Eq for DatasetFile
Source§impl PartialEq for DatasetFile
impl PartialEq for DatasetFile
Source§fn eq(&self, other: &DatasetFile) -> bool
fn eq(&self, other: &DatasetFile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DatasetFile
impl Serialize for DatasetFile
impl StructuralPartialEq for DatasetFile
Auto Trait Implementations§
impl Freeze for DatasetFile
impl RefUnwindSafe for DatasetFile
impl Send for DatasetFile
impl Sync for DatasetFile
impl Unpin for DatasetFile
impl UnsafeUnpin for DatasetFile
impl UnwindSafe for DatasetFile
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