pub struct CreateCommentBody {
pub content: String,
}Expand description
创建评论请求体
Fields§
§content: String评论内容
Trait Implementations§
Source§impl Clone for CreateCommentBody
impl Clone for CreateCommentBody
Source§fn clone(&self) -> CreateCommentBody
fn clone(&self) -> CreateCommentBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateCommentBody
impl Debug for CreateCommentBody
Source§impl Default for CreateCommentBody
impl Default for CreateCommentBody
Source§fn default() -> CreateCommentBody
fn default() -> CreateCommentBody
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateCommentBody
impl RefUnwindSafe for CreateCommentBody
impl Send for CreateCommentBody
impl Sync for CreateCommentBody
impl Unpin for CreateCommentBody
impl UnsafeUnpin for CreateCommentBody
impl UnwindSafe for CreateCommentBody
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