[−][src]Struct twitch_irc::message::Badge
A single Twitch "badge" to be shown next to the user's name in chat.
The combination of name
and version
fully describes the exact badge to display.
Fields
name: String
A string identifying the type of badge. For example, admin
, moderator
or subscriber
.
version: String
A (usually) numeric version of this badge. Most badges only have one version (then usually
version will be 0
or 1
), but other types of badges have different versions (e.g. subscriber
)
to differentiate between levels, or lengths, or similar, depending on the badge.
Trait Implementations
impl Clone for Badge
[src]
impl Debug for Badge
[src]
impl PartialEq<Badge> for Badge
[src]
impl StructuralPartialEq for Badge
[src]
Auto Trait Implementations
impl RefUnwindSafe for Badge
impl Send for Badge
impl Sync for Badge
impl Unpin for Badge
impl UnwindSafe for Badge
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,