[−][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: StringA string identifying the type of badge. For example, admin, moderator or subscriber.
version: StringA (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> 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>,