pub struct DatasetFile { /* private fields */ }Expand description
Metadata for one file within a downloadable dataset collection.
Implementations§
Source§impl DatasetFile
impl DatasetFile
Sourcepub const fn new(
url: &'static str,
file_name: &'static str,
extracted_file_name: &'static str,
compression: DatasetCompression,
) -> Self
pub const fn new( url: &'static str, file_name: &'static str, extracted_file_name: &'static str, compression: DatasetCompression, ) -> Self
Creates static metadata for one downloadable dataset file.
Sourcepub fn extracted_file_name(&self) -> &'static str
pub fn extracted_file_name(&self) -> &'static str
Returns the extracted file or directory name.
Sourcepub fn compression(&self) -> DatasetCompression
pub fn compression(&self) -> DatasetCompression
Returns the compression used by this dataset file.
Trait Implementations§
Source§impl Clone for DatasetFile
impl Clone for DatasetFile
impl Copy for DatasetFile
Source§impl Debug for DatasetFile
impl Debug for DatasetFile
impl Eq for DatasetFile
Source§impl PartialEq for DatasetFile
impl PartialEq 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
Source§impl<T> CliqueRankerExt for T
impl<T> CliqueRankerExt for T
Source§fn then<R>(self, other: R) -> ChainedRanker<Self, R>
fn then<R>(self, other: R) -> ChainedRanker<Self, R>
Chains this ranker with another. The first ranker breaks ties first;
the second ranker is consulted only when the first returns
Equal.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.