pub struct Comment {
pub _links: Option<Value>,
pub id: Option<i64>,
pub parent_comment_id: Option<i64>,
pub author: Option<IdentityRef>,
pub content: Option<String>,
pub comment_type: Option<CommentType>,
pub is_deleted: bool,
pub published_date: Option<DateTime<Utc>>,
pub last_updated_date: Option<DateTime<Utc>>,
pub last_content_updated_date: Option<DateTime<Utc>>,
}Fields§
§_links: Option<Value>§id: Option<i64>§parent_comment_id: Option<i64>§content: Option<String>§comment_type: Option<CommentType>§is_deleted: bool§published_date: Option<DateTime<Utc>>§last_updated_date: Option<DateTime<Utc>>§last_content_updated_date: Option<DateTime<Utc>>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 UnsafeUnpin 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