Struct google_youtube3::api::LiveChatBan
source · pub struct LiveChatBan {
pub etag: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub snippet: Option<LiveChatBanSnippet>,
}
Expand description
A __liveChatBan__
resource represents a ban for a YouTube live chat.
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).
- delete live chat bans (none)
- insert live chat bans (request|response)
Fields§
§etag: Option<String>
Etag of this resource.
id: Option<String>
The ID that YouTube assigns to uniquely identify the ban.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "youtube#liveChatBan"
.
snippet: Option<LiveChatBanSnippet>
The snippet
object contains basic details about the ban.
Trait Implementations§
source§impl Clone for LiveChatBan
impl Clone for LiveChatBan
source§fn clone(&self) -> LiveChatBan
fn clone(&self) -> LiveChatBan
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 LiveChatBan
impl Debug for LiveChatBan
source§impl Default for LiveChatBan
impl Default for LiveChatBan
source§fn default() -> LiveChatBan
fn default() -> LiveChatBan
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LiveChatBan
impl<'de> Deserialize<'de> for LiveChatBan
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 LiveChatBan
impl Serialize for LiveChatBan
source§impl ToParts for LiveChatBan
impl ToParts for LiveChatBan
impl RequestValue for LiveChatBan
impl Resource for LiveChatBan
impl ResponseResult for LiveChatBan
Auto Trait Implementations§
impl RefUnwindSafe for LiveChatBan
impl Send for LiveChatBan
impl Sync for LiveChatBan
impl Unpin for LiveChatBan
impl UnwindSafe for LiveChatBan
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