pub struct VideoDetails {
pub video_id: String,
pub title: String,
pub length_seconds: Option<String>,
pub is_live_content: Option<bool>,
}Expand description
Video details from player response
Fields§
§video_id: String§title: String§length_seconds: Option<String>§is_live_content: Option<bool>Trait Implementations§
Source§impl Debug for VideoDetails
impl Debug for VideoDetails
Source§impl<'de> Deserialize<'de> for VideoDetails
impl<'de> Deserialize<'de> for VideoDetails
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
Auto Trait Implementations§
impl Freeze for VideoDetails
impl RefUnwindSafe for VideoDetails
impl Send for VideoDetails
impl Sync for VideoDetails
impl Unpin for VideoDetails
impl UnwindSafe for VideoDetails
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