pub struct CommentMetadata {
pub comment_id: Option<String>,
pub comment_status: Option<String>,
pub contributor: Option<User>,
pub created_timestamp: Option<f64>,
pub recipient_id: Option<String>,
}
Expand description
Describes the metadata of a comment.
Fields§
§comment_id: Option<String>
The ID of the comment.
comment_status: Option<String>
The status of the comment.
contributor: Option<User>
The user who made the comment.
created_timestamp: Option<f64>
The timestamp that the comment was created.
recipient_id: Option<String>
The ID of the user being replied to.
Trait Implementations§
Source§impl Clone for CommentMetadata
impl Clone for CommentMetadata
Source§fn clone(&self) -> CommentMetadata
fn clone(&self) -> CommentMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CommentMetadata
impl Debug for CommentMetadata
Source§impl Default for CommentMetadata
impl Default for CommentMetadata
Source§fn default() -> CommentMetadata
fn default() -> CommentMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommentMetadata
impl<'de> Deserialize<'de> for CommentMetadata
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 CommentMetadata
impl PartialEq for CommentMetadata
impl StructuralPartialEq for CommentMetadata
Auto Trait Implementations§
impl Freeze for CommentMetadata
impl RefUnwindSafe for CommentMetadata
impl Send for CommentMetadata
impl Sync for CommentMetadata
impl Unpin for CommentMetadata
impl UnwindSafe for CommentMetadata
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