Enum twitch_types::BroadcasterType
source · pub enum BroadcasterType {
Partner,
Affiliate,
None,
}
Expand description
Broadcaster types: “partner”, “affiliate”, or “”.
Variants§
Trait Implementations§
source§impl Clone for BroadcasterType
impl Clone for BroadcasterType
source§fn clone(&self) -> BroadcasterType
fn clone(&self) -> BroadcasterType
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 BroadcasterType
impl Debug for BroadcasterType
source§impl Default for BroadcasterType
impl Default for BroadcasterType
source§fn default() -> BroadcasterType
fn default() -> BroadcasterType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BroadcasterType
impl<'de> Deserialize<'de> for BroadcasterType
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 Hash for BroadcasterType
impl Hash for BroadcasterType
source§impl Ord for BroadcasterType
impl Ord for BroadcasterType
source§fn cmp(&self, other: &BroadcasterType) -> Ordering
fn cmp(&self, other: &BroadcasterType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for BroadcasterType
impl PartialEq for BroadcasterType
source§fn eq(&self, other: &BroadcasterType) -> bool
fn eq(&self, other: &BroadcasterType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BroadcasterType
impl PartialOrd for BroadcasterType
source§fn partial_cmp(&self, other: &BroadcasterType) -> Option<Ordering>
fn partial_cmp(&self, other: &BroadcasterType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for BroadcasterType
Available on crate feature serde
only.
impl Serialize for BroadcasterType
Available on crate feature
serde
only.impl Copy for BroadcasterType
impl Eq for BroadcasterType
impl StructuralEq for BroadcasterType
impl StructuralPartialEq for BroadcasterType
Auto Trait Implementations§
impl RefUnwindSafe for BroadcasterType
impl Send for BroadcasterType
impl Sync for BroadcasterType
impl Unpin for BroadcasterType
impl UnwindSafe for BroadcasterType
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