Struct google_youtube3::api::Comment
source · 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§
source§impl<'de> Deserialize<'de> for Comment
impl<'de> Deserialize<'de> for Comment
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 RequestValue for Comment
impl Resource for Comment
impl ResponseResult for Comment
Auto Trait Implementations§
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnwindSafe for Comment
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