[][src]Struct google_youtube3::SuperChatEventSnippet

pub struct SuperChatEventSnippet {
    pub comment_text: Option<String>,
    pub super_sticker_metadata: Option<SuperStickerMetadata>,
    pub channel_id: Option<String>,
    pub is_super_chat_for_good: Option<bool>,
    pub message_type: Option<u32>,
    pub is_super_sticker_event: Option<bool>,
    pub currency: Option<String>,
    pub supporter_details: Option<ChannelProfileDetails>,
    pub display_string: Option<String>,
    pub nonprofit: Option<Nonprofit>,
    pub amount_micros: Option<String>,
    pub created_at: Option<String>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

comment_text: Option<String>

The text contents of the comment left by the user.

super_sticker_metadata: Option<SuperStickerMetadata>

If this event is a Super Sticker event, this field will contain metadata about the Super Sticker.

channel_id: Option<String>

Channel id where the event occurred.

is_super_chat_for_good: Option<bool>

True if this event is a Super Chat for Good purchase.

message_type: Option<u32>

The tier for the paid message, which is based on the amount of money spent to purchase the message.

is_super_sticker_event: Option<bool>

True if this event is a Super Sticker event.

currency: Option<String>

The currency in which the purchase was made. ISO 4217.

supporter_details: Option<ChannelProfileDetails>

Details about the supporter.

display_string: Option<String>

A rendered string that displays the purchase amount and currency (e.g., "$1.00"). The string is rendered for the given language.

nonprofit: Option<Nonprofit>

If this event is a Super Chat for Good purchase, this field will contain information about the charity the purchase is donated to.

amount_micros: Option<String>

The purchase amount, in micros of the purchase currency. e.g., 1 is represented as 1000000.

created_at: Option<String>

The date and time when the event occurred. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

Trait Implementations

impl Part for SuperChatEventSnippet[src]

impl Clone for SuperChatEventSnippet[src]

impl Default for SuperChatEventSnippet[src]

impl Debug for SuperChatEventSnippet[src]

impl Serialize for SuperChatEventSnippet[src]

impl<'de> Deserialize<'de> for SuperChatEventSnippet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]