pub struct Channel { /* private fields */ }Expand description
A Channel
Implementations§
Source§impl Channel
impl Channel
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
The description of the channel
Sourcepub fn subscribers(&self) -> Option<u64>
pub fn subscribers(&self) -> Option<u64>
The amount of subscribers this channel has.
With None either being, no subscribers or viewing the subscriber
count is disallowed.
Sourcepub fn avatar(&self) -> impl Iterator<Item = &Thumbnail>
pub fn avatar(&self) -> impl Iterator<Item = &Thumbnail>
The avatar of the channel in various sizes
The banner of the channel in various sizes
Trait Implementations§
impl Eq for Channel
Auto Trait Implementations§
impl Freeze for Channel
impl !RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl !UnwindSafe for Channel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.