pub struct LiveChatGiftMembershipReceivedDetails {
pub associated_membership_gifting_message_id: Option<String>,
pub gifter_channel_id: Option<String>,
pub member_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§
§associated_membership_gifting_message_id: Option<String>
The ID of the membership gifting message that is related to this gift membership. This ID will always refer to a message whose type is ‘membershipGiftingEvent’.
gifter_channel_id: Option<String>
The ID of the user that made the membership gifting purchase. This matches the snippet.authorChannelId
of the associated membership gifting message.
member_level_name: Option<String>
The name of the Level at which the viewer is a member. This matches the snippet.membershipGiftingDetails.giftMembershipsLevelName
of the associated membership gifting message. 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 LiveChatGiftMembershipReceivedDetails
impl Clone for LiveChatGiftMembershipReceivedDetails
source§fn clone(&self) -> LiveChatGiftMembershipReceivedDetails
fn clone(&self) -> LiveChatGiftMembershipReceivedDetails
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 LiveChatGiftMembershipReceivedDetails
impl Default for LiveChatGiftMembershipReceivedDetails
source§fn default() -> LiveChatGiftMembershipReceivedDetails
fn default() -> LiveChatGiftMembershipReceivedDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LiveChatGiftMembershipReceivedDetails
impl<'de> Deserialize<'de> for LiveChatGiftMembershipReceivedDetails
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 LiveChatGiftMembershipReceivedDetails
Auto Trait Implementations§
impl RefUnwindSafe for LiveChatGiftMembershipReceivedDetails
impl Send for LiveChatGiftMembershipReceivedDetails
impl Sync for LiveChatGiftMembershipReceivedDetails
impl Unpin for LiveChatGiftMembershipReceivedDetails
impl UnwindSafe for LiveChatGiftMembershipReceivedDetails
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