pub struct CommentPost {
pub id: Option<String>,
}Expand description
Data about the post containing this comment.
This type is not used in any activity, and only used as part of another schema.
Fields§
§id: Option<String>The identifier of the post containing this comment.
Trait Implementations§
Source§impl Clone for CommentPost
impl Clone for CommentPost
Source§fn clone(&self) -> CommentPost
fn clone(&self) -> CommentPost
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 CommentPost
impl Debug for CommentPost
Source§impl Default for CommentPost
impl Default for CommentPost
Source§fn default() -> CommentPost
fn default() -> CommentPost
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommentPost
impl<'de> Deserialize<'de> for CommentPost
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 Serialize for CommentPost
impl Serialize for CommentPost
impl NestedType for CommentPost
impl Part for CommentPost
Auto Trait Implementations§
impl Freeze for CommentPost
impl RefUnwindSafe for CommentPost
impl Send for CommentPost
impl Sync for CommentPost
impl Unpin for CommentPost
impl UnwindSafe for CommentPost
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