pub struct LiveChatMembershipGiftingDetails {
pub gift_memberships_count: Option<i32>,
pub gift_memberships_level_name: Option<String>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§gift_memberships_count: Option<i32>
The number of gift memberships purchased by the user.
gift_memberships_level_name: Option<String>
The name of the level of the gift memberships purchased by the user. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn’t filled.
Trait Implementations§
source§impl Clone for LiveChatMembershipGiftingDetails
impl Clone for LiveChatMembershipGiftingDetails
source§fn clone(&self) -> LiveChatMembershipGiftingDetails
fn clone(&self) -> LiveChatMembershipGiftingDetails
Returns a copy 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 Default for LiveChatMembershipGiftingDetails
impl Default for LiveChatMembershipGiftingDetails
source§fn default() -> LiveChatMembershipGiftingDetails
fn default() -> LiveChatMembershipGiftingDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LiveChatMembershipGiftingDetails
impl<'de> Deserialize<'de> for LiveChatMembershipGiftingDetails
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
impl Part for LiveChatMembershipGiftingDetails
Auto Trait Implementations§
impl RefUnwindSafe for LiveChatMembershipGiftingDetails
impl Send for LiveChatMembershipGiftingDetails
impl Sync for LiveChatMembershipGiftingDetails
impl Unpin for LiveChatMembershipGiftingDetails
impl UnwindSafe for LiveChatMembershipGiftingDetails
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