Struct google_youtube3::api::LiveChatSuperChatDetails
source · pub struct LiveChatSuperChatDetails {
pub amount_display_string: Option<String>,
pub amount_micros: Option<u64>,
pub currency: Option<String>,
pub tier: Option<u32>,
pub user_comment: 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§
§amount_display_string: Option<String>
A rendered string that displays the fund amount and currency to the user.
amount_micros: Option<u64>
The amount purchased by the user, in micros (1,750,000 micros = 1.75).
currency: Option<String>
The currency in which the purchase was made.
tier: Option<u32>
The tier in which the amount belongs. Lower amounts belong to lower tiers. The lowest tier is 1.
user_comment: Option<String>
The comment added by the user to this Super Chat event.
Trait Implementations§
source§impl Clone for LiveChatSuperChatDetails
impl Clone for LiveChatSuperChatDetails
source§fn clone(&self) -> LiveChatSuperChatDetails
fn clone(&self) -> LiveChatSuperChatDetails
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 LiveChatSuperChatDetails
impl Debug for LiveChatSuperChatDetails
source§impl Default for LiveChatSuperChatDetails
impl Default for LiveChatSuperChatDetails
source§fn default() -> LiveChatSuperChatDetails
fn default() -> LiveChatSuperChatDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LiveChatSuperChatDetails
impl<'de> Deserialize<'de> for LiveChatSuperChatDetails
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 LiveChatSuperChatDetails
impl Serialize for LiveChatSuperChatDetails
impl Part for LiveChatSuperChatDetails
Auto Trait Implementations§
impl RefUnwindSafe for LiveChatSuperChatDetails
impl Send for LiveChatSuperChatDetails
impl Sync for LiveChatSuperChatDetails
impl Unpin for LiveChatSuperChatDetails
impl UnwindSafe for LiveChatSuperChatDetails
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