Struct rustube::VideoDetails[][src]

pub struct VideoDetails {
Show fields pub allow_ratings: bool, pub author: String, pub average_rating: f64, pub channel_id: String, pub is_crawlable: bool, pub is_live_content: bool, pub is_live_default_broadcast: bool, pub is_live_dvr_enabled: bool, pub is_low_latency_live_stream: bool, pub is_owner_viewing: bool, pub is_private: bool, pub is_unplugged_corpus: bool, pub latency_class: Option<LatencyClass>, pub live_chunk_readahead: Option<u64>, pub key_words: Vec<String>, pub length_seconds: u64, pub short_description: String, pub thumbnails: Vec<Thumbnail>, pub title: String, pub video_id: IdBuf, pub view_count: u64,
}

Fields

allow_ratings: boolauthor: Stringaverage_rating: f64channel_id: Stringis_crawlable: boolis_live_content: boolis_live_default_broadcast: boolis_live_dvr_enabled: boolis_low_latency_live_stream: boolis_owner_viewing: boolis_private: boolis_unplugged_corpus: boollatency_class: Option<LatencyClass>live_chunk_readahead: Option<u64>key_words: Vec<String>length_seconds: u64short_description: Stringthumbnails: Vec<Thumbnail>title: Stringvideo_id: IdBufview_count: u64

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

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. 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.