[−][src]Struct google_youtube3::CommentSnippet
Basic details about a comment, such as its author and text.
This type is not used in any activity, and only used as part of another schema.
Fields
Link to the author's YouTube channel, if any.
The URL for the avatar of the user who posted the comment.
The name of the user who posted the comment.
channel_id: Option<String>
The id of the corresponding YouTube channel. In case of a channel comment this is the channel the comment refers to. In case of a video comment it's the video's channel.
viewer_rating: Option<String>
The rating the viewer has given to this comment. For the time being this will never return RATE_TYPE_DISLIKE and instead return RATE_TYPE_NONE. This may change in the future.
moderation_status: Option<String>
The comment's moderation status. Will not be set if the comments were requested through the id filter.
video_id: Option<String>
The ID of the video the comment refers to, if any.
The id of the author's YouTube channel, if any.
parent_id: Option<String>
The unique id of the parent comment, only set for replies.
published_at: Option<String>
The date and time when the comment was orignally published. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
can_rate: Option<bool>
Whether the current viewer can rate this comment.
text_original: Option<String>
The comment's original raw text as initially posted or last updated. The original text will only be returned if it is accessible to the viewer, which is only guaranteed if the viewer is the comment's author.
updated_at: Option<String>
The date and time when was last updated . The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.
like_count: Option<u32>
The total number of likes this comment has received.
text_display: Option<String>
The comment's text. The format is either plain text or HTML dependent on what has been requested. Even the plain text representation may differ from the text originally posted in that it may replace video links with video titles etc.
Trait Implementations
impl Clone for CommentSnippet
[src]
fn clone(&self) -> CommentSnippet
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CommentSnippet
[src]
impl Default for CommentSnippet
[src]
fn default() -> CommentSnippet
[src]
impl<'de> Deserialize<'de> for CommentSnippet
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for CommentSnippet
[src]
impl Serialize for CommentSnippet
[src]
Auto Trait Implementations
impl RefUnwindSafe for CommentSnippet
impl Send for CommentSnippet
impl Sync for CommentSnippet
impl Unpin for CommentSnippet
impl UnwindSafe for CommentSnippet
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,