pub struct GiftData {
pub user: OptionalUser,
pub broadcaster: User,
pub total: u32,
pub tier: String,
pub cumulative_total: Option<u32>,
pub is_anonymous: bool,
}Fields§
§user: OptionalUser§broadcaster: User§total: u32§tier: String§cumulative_total: Option<u32>§is_anonymous: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for GiftData
impl<'de> Deserialize<'de> for GiftData
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 GiftData
impl RefUnwindSafe for GiftData
impl Send for GiftData
impl Sync for GiftData
impl Unpin for GiftData
impl UnwindSafe for GiftData
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