pub struct Comment {
pub id: String,
pub parent: Parent,
pub created_time: DateTime<Utc>,
pub created_by: User,
pub last_edited_time: DateTime<Utc>,
pub discussion_id: String,
pub rich_text: Vec<RichText>,
/* private fields */
}
Expand description
Refer to:
Fields§
§id: String
§parent: Parent
§created_time: DateTime<Utc>
§created_by: User
§last_edited_time: DateTime<Utc>
§discussion_id: String
§rich_text: Vec<RichText>
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
Auto Trait Implementations§
impl Freeze for Comment
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