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