Struct google_youtube3::api::LiveChatMessageSnippet [−][src]
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
The ID of the user that authored this message, this field is not always filled. textMessageEvent - the user that wrote the message fanFundingEvent - the user that funded the broadcast newSponsorEvent - the user that just became a sponsor messageDeletedEvent - the moderator that took the action messageRetractedEvent - the author that retracted their message userBannedEvent - the moderator that took the action superChatEvent - the user that made the purchase
display_message: Option<String>Contains a string that can be displayed to the user. If this field is not present the message is silent, at the moment only messages of type TOMBSTONE and CHAT_ENDED_EVENT are silent.
fan_funding_event_details: Option<LiveChatFanFundingEventDetails>Details about the funding event, this is only set if the type is 'fanFundingEvent'.
has_display_content: Option<bool>Whether the message has display content that should be displayed to users.
live_chat_id: Option<String>no description provided
message_deleted_details: Option<LiveChatMessageDeletedDetails>no description provided
message_retracted_details: Option<LiveChatMessageRetractedDetails>no description provided
published_at: Option<String>The date and time when the message was orignally published.
super_chat_details: Option<LiveChatSuperChatDetails>Details about the Super Chat event, this is only set if the type is 'superChatEvent'.
super_sticker_details: Option<LiveChatSuperStickerDetails>Details about the Super Sticker event, this is only set if the type is 'superStickerEvent'.
text_message_details: Option<LiveChatTextMessageDetails>Details about the text message, this is only set if the type is 'textMessageEvent'.
type_: Option<String>The type of message, this will always be present, it determines the contents of the message as well as which fields will be present.
user_banned_details: Option<LiveChatUserBannedMessageDetails>no description provided
Trait Implementations
impl Clone for LiveChatMessageSnippet[src]
fn clone(&self) -> LiveChatMessageSnippet[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for LiveChatMessageSnippet[src]
impl Default for LiveChatMessageSnippet[src]
fn default() -> LiveChatMessageSnippet[src]
impl<'de> Deserialize<'de> for LiveChatMessageSnippet[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for LiveChatMessageSnippet[src]
impl Serialize for LiveChatMessageSnippet[src]
Auto Trait Implementations
impl RefUnwindSafe for LiveChatMessageSnippet[src]
impl Send for LiveChatMessageSnippet[src]
impl Sync for LiveChatMessageSnippet[src]
impl Unpin for LiveChatMessageSnippet[src]
impl UnwindSafe for LiveChatMessageSnippet[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,