pub struct Playlist {
pub name: String,
pub thumbnail_url: String,
pub banner_url: Option<String>,
pub uploader: String,
pub uploader_url: String,
pub uploader_avatar: Option<String>,
pub videos: i32,
pub nextpage: Option<String>,
pub nextbody: Option<String>,
pub related_streams: Vec<RelatedStream>,
}Fields§
§name: String§thumbnail_url: String§uploader: String§uploader_url: String§uploader_avatar: Option<String>§videos: i32§nextpage: Option<String>§nextbody: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Playlist
impl<'de> Deserialize<'de> for Playlist
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 Playlist
impl RefUnwindSafe for Playlist
impl Send for Playlist
impl Sync for Playlist
impl Unpin for Playlist
impl UnwindSafe for Playlist
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