pub struct PostCommentCreate {
pub content: String,
pub parent_comment_id: Option<Option<i64>>,
pub post_id: i64,
pub extra: Map<String, Value>,
}Fields§
§content: String§parent_comment_id: Option<Option<i64>>None leaves the field out, Some(None) sends null.
post_id: i64§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for PostCommentCreate
impl Clone for PostCommentCreate
Source§impl Debug for PostCommentCreate
impl Debug for PostCommentCreate
Source§impl Default for PostCommentCreate
impl Default for PostCommentCreate
Source§impl<'de> Deserialize<'de> for PostCommentCreate
impl<'de> Deserialize<'de> for PostCommentCreate
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 PostCommentCreate
impl PartialEq for PostCommentCreate
Source§impl Serialize for PostCommentCreate
impl Serialize for PostCommentCreate
impl StructuralPartialEq for PostCommentCreate
Auto Trait Implementations§
impl Freeze for PostCommentCreate
impl RefUnwindSafe for PostCommentCreate
impl Send for PostCommentCreate
impl Sync for PostCommentCreate
impl Unpin for PostCommentCreate
impl UnsafeUnpin for PostCommentCreate
impl UnwindSafe for PostCommentCreate
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