Struct google_youtube3::api::Comment [−][src]
pub struct Comment {
pub etag: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub snippet: Option<CommentSnippet>,
}
Expand description
A comment represents a single YouTube comment.
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 comments (none)
- insert comments (request|response)
- list comments (none)
- mark as spam comments (none)
- set moderation status comments (none)
- update comments (request|response)
Fields
etag: Option<String>
Etag of this resource.
id: Option<String>
The ID that YouTube uses to uniquely identify the comment.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “youtube#comment”.
snippet: Option<CommentSnippet>
The snippet object contains basic details about the comment.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Comment
impl UnwindSafe for Comment
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more