pub struct Badge {
pub kind: BadgeKind,
pub ver: u16,
}Expand description
a badge plus its version — for a subscriber, the months tier twitch sent.
Fields§
§kind: BadgeKind§ver: u16Implementations§
Trait Implementations§
impl Copy for Badge
impl Eq for Badge
impl StructuralPartialEq for Badge
Auto Trait Implementations§
impl Forget for Badge
impl Freeze for Badge
impl RefUnwindSafe for Badge
impl Send for Badge
impl Sync for Badge
impl Unpin for Badge
impl UnsafeUnpin for Badge
impl UnwindSafe for Badge
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