Struct google_youtube3::api::SuperChatEvent
source · pub struct SuperChatEvent {
pub etag: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub snippet: Option<SuperChatEventSnippet>,
}
Expand description
A __superChatEvent__
resource represents a Super Chat purchase on a YouTube channel.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list super chat events (none)
Fields§
§etag: Option<String>
Etag of this resource.
id: Option<String>
The ID that YouTube assigns to uniquely identify the Super Chat event.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "youtube#superChatEvent"
.
snippet: Option<SuperChatEventSnippet>
The snippet
object contains basic details about the Super Chat event.
Trait Implementations§
source§impl Clone for SuperChatEvent
impl Clone for SuperChatEvent
source§fn clone(&self) -> SuperChatEvent
fn clone(&self) -> SuperChatEvent
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 Debug for SuperChatEvent
impl Debug for SuperChatEvent
source§impl Default for SuperChatEvent
impl Default for SuperChatEvent
source§fn default() -> SuperChatEvent
fn default() -> SuperChatEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SuperChatEvent
impl<'de> Deserialize<'de> for SuperChatEvent
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
source§impl Serialize for SuperChatEvent
impl Serialize for SuperChatEvent
source§impl ToParts for SuperChatEvent
impl ToParts for SuperChatEvent
impl Resource for SuperChatEvent
Auto Trait Implementations§
impl RefUnwindSafe for SuperChatEvent
impl Send for SuperChatEvent
impl Sync for SuperChatEvent
impl Unpin for SuperChatEvent
impl UnwindSafe for SuperChatEvent
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