pub struct NewSubscriptionData {
pub user: User,
pub broadcaster: User,
pub tier: String,
pub is_gift: bool,
}Fields§
§user: User§broadcaster: User§tier: String§is_gift: boolTrait Implementations§
Source§impl Clone for NewSubscriptionData
impl Clone for NewSubscriptionData
Source§fn clone(&self) -> NewSubscriptionData
fn clone(&self) -> NewSubscriptionData
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 NewSubscriptionData
impl Debug for NewSubscriptionData
Source§impl<'de> Deserialize<'de> for NewSubscriptionData
impl<'de> Deserialize<'de> for NewSubscriptionData
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 NewSubscriptionData
impl RefUnwindSafe for NewSubscriptionData
impl Send for NewSubscriptionData
impl Sync for NewSubscriptionData
impl Unpin for NewSubscriptionData
impl UnwindSafe for NewSubscriptionData
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