pub struct ResubscriptionData {
pub user: User,
pub broadcaster: User,
pub message: RewardMessageData,
pub tier: String,
pub cumulative_months: u32,
pub streak_months: Option<u32>,
pub duration_months: u32,
}Fields§
§user: User§broadcaster: User§message: RewardMessageData§tier: String§cumulative_months: u32§streak_months: Option<u32>§duration_months: u32Trait Implementations§
Source§impl Clone for ResubscriptionData
impl Clone for ResubscriptionData
Source§fn clone(&self) -> ResubscriptionData
fn clone(&self) -> ResubscriptionData
Returns a duplicate 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 ResubscriptionData
impl Debug for ResubscriptionData
Source§impl<'de> Deserialize<'de> for ResubscriptionData
impl<'de> Deserialize<'de> for ResubscriptionData
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
Auto Trait Implementations§
impl Freeze for ResubscriptionData
impl RefUnwindSafe for ResubscriptionData
impl Send for ResubscriptionData
impl Sync for ResubscriptionData
impl Unpin for ResubscriptionData
impl UnwindSafe for ResubscriptionData
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