#[non_exhaustive]pub struct YouTubeComment {Show 14 fields
pub approximate_created_at: Option<DateTime<Utc>>,
pub author: Option<Box<YouTubeAuthor>>,
pub created_at: Option<DateTime<Utc>>,
pub created_at_label: Option<String>,
pub extracted: Box<YouTubeExtracted>,
pub id: String,
pub is_by_post_author: Option<bool>,
pub is_edited: Option<bool>,
pub metrics: Box<YouTubeCommentMetrics>,
pub parent_id: Option<String>,
pub post_id: Option<String>,
pub replies_token: Option<String>,
pub text: Option<String>,
pub url: String,
}Expand description
The YouTubeComment model.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.approximate_created_at: Option<DateTime<Utc>>The approximateCreatedAt field.
The author field.
created_at: Option<DateTime<Utc>>The createdAt field.
created_at_label: Option<String>The createdAtLabel field.
extracted: Box<YouTubeExtracted>The extracted field.
id: StringThe id field.
The isByPostAuthor field.
is_edited: Option<bool>The isEdited field.
metrics: Box<YouTubeCommentMetrics>The metrics field.
parent_id: Option<String>The parentId field.
post_id: Option<String>The postId field.
replies_token: Option<String>The repliesToken field.
text: Option<String>The text field.
url: StringThe url field.
Trait Implementations§
Source§impl Clone for YouTubeComment
impl Clone for YouTubeComment
Source§impl Debug for YouTubeComment
impl Debug for YouTubeComment
Source§impl Default for YouTubeComment
impl Default for YouTubeComment
Source§impl<'de> Deserialize<'de> for YouTubeCommentwhere
YouTubeComment: Default,
impl<'de> Deserialize<'de> for YouTubeCommentwhere
YouTubeComment: Default,
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 PartialEq for YouTubeComment
impl PartialEq for YouTubeComment
Source§impl Serialize for YouTubeComment
impl Serialize for YouTubeComment
impl StructuralPartialEq for YouTubeComment
Auto Trait Implementations§
impl Forget for YouTubeComment
impl Freeze for YouTubeComment
impl Move for YouTubeComment
impl RefUnwindSafe for YouTubeComment
impl Send for YouTubeComment
impl Sync for YouTubeComment
impl Unpin for YouTubeComment
impl UnsafeUnpin for YouTubeComment
impl UnwindSafe for YouTubeComment
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