Struct google_youtube3::api::LiveChatBanSnippet
source · pub struct LiveChatBanSnippet {
pub ban_duration_seconds: Option<u64>,
pub banned_user_details: Option<ChannelProfileDetails>,
pub live_chat_id: Option<String>,
pub type_: 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§
§ban_duration_seconds: Option<u64>
The duration of a ban, only filled if the ban has type TEMPORARY.
banned_user_details: Option<ChannelProfileDetails>
no description provided
live_chat_id: Option<String>
The chat this ban is pertinent to.
type_: Option<String>
The type of ban.
Trait Implementations§
source§impl Clone for LiveChatBanSnippet
impl Clone for LiveChatBanSnippet
source§fn clone(&self) -> LiveChatBanSnippet
fn clone(&self) -> LiveChatBanSnippet
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 LiveChatBanSnippet
impl Debug for LiveChatBanSnippet
source§impl Default for LiveChatBanSnippet
impl Default for LiveChatBanSnippet
source§fn default() -> LiveChatBanSnippet
fn default() -> LiveChatBanSnippet
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LiveChatBanSnippet
impl<'de> Deserialize<'de> for LiveChatBanSnippet
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 LiveChatBanSnippet
impl Serialize for LiveChatBanSnippet
impl Part for LiveChatBanSnippet
Auto Trait Implementations§
impl RefUnwindSafe for LiveChatBanSnippet
impl Send for LiveChatBanSnippet
impl Sync for LiveChatBanSnippet
impl Unpin for LiveChatBanSnippet
impl UnwindSafe for LiveChatBanSnippet
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