pub struct LiveChatMemberMilestoneChatDetails {
pub member_level_name: Option<String>,
pub member_month: 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§
§member_level_name: Option<String>
The name of the Level at which the viever is a member. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn’t filled.
member_month: Option<u32>
The total amount of months (rounded up) the viewer has been a member that granted them this Member Milestone Chat. This is the same number of months as is being displayed to YouTube users.
user_comment: Option<String>
The comment added by the member to this Member Milestone Chat. This field is empty for messages without a comment from the member.
Trait Implementations§
source§impl Clone for LiveChatMemberMilestoneChatDetails
impl Clone for LiveChatMemberMilestoneChatDetails
source§fn clone(&self) -> LiveChatMemberMilestoneChatDetails
fn clone(&self) -> LiveChatMemberMilestoneChatDetails
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 LiveChatMemberMilestoneChatDetails
impl Default for LiveChatMemberMilestoneChatDetails
source§fn default() -> LiveChatMemberMilestoneChatDetails
fn default() -> LiveChatMemberMilestoneChatDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LiveChatMemberMilestoneChatDetails
impl<'de> Deserialize<'de> for LiveChatMemberMilestoneChatDetails
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 LiveChatMemberMilestoneChatDetails
Auto Trait Implementations§
impl RefUnwindSafe for LiveChatMemberMilestoneChatDetails
impl Send for LiveChatMemberMilestoneChatDetails
impl Sync for LiveChatMemberMilestoneChatDetails
impl Unpin for LiveChatMemberMilestoneChatDetails
impl UnwindSafe for LiveChatMemberMilestoneChatDetails
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