pub struct WasapiFile {
pub filename: String,
pub filetype: String,
pub checksums: Checksums,
pub account: u64,
pub size: u64,
pub collection: u64,
pub crawl: Option<u64>,
pub crawl_time: Option<String>,
pub crawl_start: Option<String>,
pub store_time: String,
pub locations: Vec<String>,
}Fields§
§filename: String§filetype: String§checksums: Checksums§account: u64§size: u64§collection: u64§crawl: Option<u64>§crawl_time: Option<String>§crawl_start: Option<String>§store_time: String§locations: Vec<String>Trait Implementations§
Source§impl Clone for WasapiFile
impl Clone for WasapiFile
Source§fn clone(&self) -> WasapiFile
fn clone(&self) -> WasapiFile
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 WasapiFile
impl Debug for WasapiFile
Source§impl<'de> Deserialize<'de> for WasapiFile
impl<'de> Deserialize<'de> for WasapiFile
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
Source§impl Source for WasapiFile
Projects a WASAPI file onto the fields the engine needs. The filename
doubles as the label in DownloadOutcome’s Display. WASAPI supplies a
sha1 (md5 is an empty placeholder in practice and ignored), so only sha1 is
surfaced as the expected checksum.
impl Source for WasapiFile
Projects a WASAPI file onto the fields the engine needs. The filename
doubles as the label in DownloadOutcome’s Display. WASAPI supplies a
sha1 (md5 is an empty placeholder in practice and ignored), so only sha1 is
surfaced as the expected checksum.
Auto Trait Implementations§
impl Freeze for WasapiFile
impl RefUnwindSafe for WasapiFile
impl Send for WasapiFile
impl Sync for WasapiFile
impl Unpin for WasapiFile
impl UnsafeUnpin for WasapiFile
impl UnwindSafe for WasapiFile
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.