pub struct CommonChannel {
pub name: String,
pub id: String,
pub url: String,
pub verified: bool,
pub thumbnails: Vec<CommonImage>,
pub auto_generated: bool,
pub subscribers: u32,
pub video_count: u32,
pub description: String,
pub description_html: String,
}Expand description
Shared channel object as specified in https://docs.invidious.io/api/common_types/
Fields§
§name: String§id: String§url: String§verified: bool§thumbnails: Vec<CommonImage>§auto_generated: bool§subscribers: u32§video_count: u32§description: String§description_html: StringTrait Implementations§
Source§impl Clone for CommonChannel
impl Clone for CommonChannel
Source§fn clone(&self) -> CommonChannel
fn clone(&self) -> CommonChannel
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommonChannel
impl Debug for CommonChannel
Source§impl Default for CommonChannel
impl Default for CommonChannel
Source§fn default() -> CommonChannel
fn default() -> CommonChannel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommonChannel
impl<'de> Deserialize<'de> for CommonChannel
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
Source§impl From<Channel> for CommonChannel
impl From<Channel> for CommonChannel
Auto Trait Implementations§
impl Freeze for CommonChannel
impl RefUnwindSafe for CommonChannel
impl Send for CommonChannel
impl Sync for CommonChannel
impl Unpin for CommonChannel
impl UnwindSafe for CommonChannel
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