pub struct CommentThread {
pub etag: Option<String>,
pub id: Option<String>,
pub kind: Option<String>,
pub replies: Option<CommentThreadReplies>,
pub snippet: Option<CommentThreadSnippet>,
}
Expand description
A comment thread represents information that applies to a top level comment and all its replies. It can also include the top level comment itself and some of the replies.
§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).
- insert comment threads (request|response)
- list comment threads (none)
- v3 update comment threads youtube (request|response)
Fields§
§etag: Option<String>
Etag of this resource.
id: Option<String>
The ID that YouTube uses to uniquely identify the comment thread.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “youtube#commentThread”.
replies: Option<CommentThreadReplies>
The replies object contains a limited number of replies (if any) to the top level comment found in the snippet.
snippet: Option<CommentThreadSnippet>
The snippet object contains basic details about the comment thread and also the top level comment.
Trait Implementations§
Source§impl Clone for CommentThread
impl Clone for CommentThread
Source§fn clone(&self) -> CommentThread
fn clone(&self) -> CommentThread
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CommentThread
impl Debug for CommentThread
Source§impl Default for CommentThread
impl Default for CommentThread
Source§fn default() -> CommentThread
fn default() -> CommentThread
Source§impl<'de> Deserialize<'de> for CommentThread
impl<'de> Deserialize<'de> for CommentThread
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>,
Source§impl Serialize for CommentThread
impl Serialize for CommentThread
Source§impl ToParts for CommentThread
impl ToParts for CommentThread
impl RequestValue for CommentThread
impl Resource for CommentThread
impl ResponseResult for CommentThread
Auto Trait Implementations§
impl Freeze for CommentThread
impl RefUnwindSafe for CommentThread
impl Send for CommentThread
impl Sync for CommentThread
impl Unpin for CommentThread
impl UnwindSafe for CommentThread
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more