pub struct UpdateCommentArgs {
pub content: String,
}
Expand description
Comment update arguments
Fields§
§content: String
Implementations§
Source§impl UpdateCommentArgs
impl UpdateCommentArgs
Sourcepub fn has_updates(&self) -> bool
pub fn has_updates(&self) -> bool
Check if any fields are set for updating Note: UpdateCommentArgs only has required fields, so this always returns true when instantiated
Trait Implementations§
Source§impl Debug for UpdateCommentArgs
impl Debug for UpdateCommentArgs
Source§impl Default for UpdateCommentArgs
impl Default for UpdateCommentArgs
Source§fn default() -> UpdateCommentArgs
fn default() -> UpdateCommentArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateCommentArgs
impl RefUnwindSafe for UpdateCommentArgs
impl Send for UpdateCommentArgs
impl Sync for UpdateCommentArgs
impl Unpin for UpdateCommentArgs
impl UnwindSafe for UpdateCommentArgs
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