pub struct UpdateCommentParams {
pub tenant_id: String,
pub id: String,
pub updatable_comment_params: UpdatableCommentParams,
pub context_user_id: Option<String>,
pub do_spam_check: Option<bool>,
pub is_live: Option<bool>,
}Expand description
struct for passing parameters to the method update_comment
Fields§
§tenant_id: String§id: String§updatable_comment_params: UpdatableCommentParams§context_user_id: Option<String>§do_spam_check: Option<bool>§is_live: Option<bool>Trait Implementations§
Source§impl Clone for UpdateCommentParams
impl Clone for UpdateCommentParams
Auto Trait Implementations§
impl Forget for UpdateCommentParams
impl Freeze for UpdateCommentParamswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
NonZero<i32>: Freeze,
FixedOffset: Freeze,
PhantomData<String>: Freeze,
impl Move for UpdateCommentParams
impl RefUnwindSafe for UpdateCommentParams
impl Send for UpdateCommentParams
impl Sync for UpdateCommentParams
impl Unpin for UpdateCommentParams
impl UnsafeUnpin for UpdateCommentParamswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
FixedOffset: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for UpdateCommentParams
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