Struct rustube::VideoDetails
source · [−]pub struct VideoDetails {Show 20 fields
pub allow_ratings: bool,
pub author: String,
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: bool
channel_id: String
is_crawlable: bool
is_live_content: bool
is_live_default_broadcast: bool
is_live_dvr_enabled: bool
is_low_latency_live_stream: bool
is_owner_viewing: bool
is_private: bool
is_unplugged_corpus: bool
latency_class: Option<LatencyClass>
live_chunk_readahead: Option<u64>
key_words: Vec<String>
length_seconds: u64
short_description: String
thumbnails: Vec<Thumbnail>
title: String
video_id: IdBuf
view_count: u64
Trait Implementations
sourceimpl Clone for VideoDetails
impl Clone for VideoDetails
sourcefn clone(&self) -> VideoDetails
fn clone(&self) -> VideoDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VideoDetails
impl Debug for VideoDetails
sourceimpl<'de> Deserialize<'de> for VideoDetails
impl<'de> Deserialize<'de> for VideoDetails
sourcefn 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
sourceimpl PartialEq<VideoDetails> for VideoDetails
impl PartialEq<VideoDetails> for VideoDetails
sourcefn eq(&self, other: &VideoDetails) -> bool
fn eq(&self, other: &VideoDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VideoDetails) -> bool
fn ne(&self, other: &VideoDetails) -> bool
This method tests for !=
.
sourceimpl Serialize for VideoDetails
impl Serialize for VideoDetails
impl StructuralPartialEq for VideoDetails
Auto Trait Implementations
impl RefUnwindSafe for VideoDetails
impl Send for VideoDetails
impl Sync for VideoDetails
impl Unpin for VideoDetails
impl UnwindSafe for VideoDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more