Struct twitch_irc::message::SubGiftPromo
source · [−]Expand description
Additionally present on giftpaidupgrade and anongiftpaidupgrade messages
if the upgrade happens as part of a seasonal promotion on Twitch, e.g. Subtember
or similar.
Fields
total_gifts: u64Total number of subs gifted during this promotion
promo_name: StringFriendly name of the promotion, e.g. Subtember 2018
Trait Implementations
sourceimpl Clone for SubGiftPromo
impl Clone for SubGiftPromo
sourcefn clone(&self) -> SubGiftPromo
fn clone(&self) -> SubGiftPromo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SubGiftPromo
impl Debug for SubGiftPromo
sourceimpl<'de> Deserialize<'de> for SubGiftPromo
impl<'de> Deserialize<'de> for SubGiftPromo
sourcefn 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
sourceimpl PartialEq<SubGiftPromo> for SubGiftPromo
impl PartialEq<SubGiftPromo> for SubGiftPromo
sourcefn eq(&self, other: &SubGiftPromo) -> bool
fn eq(&self, other: &SubGiftPromo) -> bool
sourceimpl Serialize for SubGiftPromo
impl Serialize for SubGiftPromo
impl Eq for SubGiftPromo
impl StructuralEq for SubGiftPromo
impl StructuralPartialEq for SubGiftPromo
Auto Trait Implementations
impl RefUnwindSafe for SubGiftPromo
impl Send for SubGiftPromo
impl Sync for SubGiftPromo
impl Unpin for SubGiftPromo
impl UnwindSafe for SubGiftPromo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.