Struct hydrus_api::api_core::common::FileMetadataInfo[][src]

pub struct FileMetadataInfo {
Show fields pub file_id: u64, pub hash: String, pub size: Option<u64>, pub mime: String, pub ext: String, pub width: Option<u32>, pub height: Option<u32>, pub duration: Option<u64>, pub has_audio: Option<bool>, pub num_frames: Option<u64>, pub num_words: Option<u64>, pub is_inbox: bool, pub is_local: bool, pub is_trashed: bool, pub known_urls: Vec<String>, pub service_names_to_statuses_to_tags: HashMap<String, HashMap<String, Vec<String>>>, pub service_names_to_statuses_to_display_tags: HashMap<String, HashMap<String, Vec<String>>>,
}

Fields

file_id: u64hash: Stringsize: Option<u64>mime: Stringext: Stringwidth: Option<u32>height: Option<u32>duration: Option<u64>has_audio: Option<bool>num_frames: Option<u64>num_words: Option<u64>is_inbox: boolis_local: boolis_trashed: boolknown_urls: Vec<String>service_names_to_statuses_to_tags: HashMap<String, HashMap<String, Vec<String>>>service_names_to_statuses_to_display_tags: HashMap<String, HashMap<String, Vec<String>>>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.