pub struct Snippet {
pub published_at: String,
pub channel_id: String,
pub title: String,
pub description: String,
pub thumbnails: HashMap<String, Thumbnail>,
pub channel_title: String,
pub live_broadcast_content: Option<String>,
}
Fields§
§published_at: String
§channel_id: String
§title: String
§description: String
§thumbnails: HashMap<String, Thumbnail>
§channel_title: String
§live_broadcast_content: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Snippet
impl<'de> Deserialize<'de> for Snippet
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 Snippet
impl RefUnwindSafe for Snippet
impl Send for Snippet
impl Sync for Snippet
impl Unpin for Snippet
impl UnwindSafe for Snippet
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