pub struct CommentPostPutObject {
pub content: String,
}
Fields§
§content: String
The content of the comment in HTML format. Subject to sanitization on the back-end.
Implementations§
Source§impl CommentPostPutObject
impl CommentPostPutObject
pub fn new(content: String) -> CommentPostPutObject
Trait Implementations§
Source§impl Clone for CommentPostPutObject
impl Clone for CommentPostPutObject
Source§fn clone(&self) -> CommentPostPutObject
fn clone(&self) -> CommentPostPutObject
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 CommentPostPutObject
impl Debug for CommentPostPutObject
Source§impl<'de> Deserialize<'de> for CommentPostPutObject
impl<'de> Deserialize<'de> for CommentPostPutObject
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 CommentPostPutObject
impl PartialEq for CommentPostPutObject
Source§impl Serialize for CommentPostPutObject
impl Serialize for CommentPostPutObject
impl StructuralPartialEq for CommentPostPutObject
Auto Trait Implementations§
impl Freeze for CommentPostPutObject
impl RefUnwindSafe for CommentPostPutObject
impl Send for CommentPostPutObject
impl Sync for CommentPostPutObject
impl Unpin for CommentPostPutObject
impl UnwindSafe for CommentPostPutObject
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