pub struct SaveCommentParams {
pub tenant_id: String,
pub create_comment_params: CreateCommentParams,
pub is_live: Option<bool>,
pub do_spam_check: Option<bool>,
pub send_emails: Option<bool>,
pub populate_notifications: Option<bool>,
}Expand description
struct for passing parameters to the method save_comment
Fields§
§tenant_id: String§create_comment_params: CreateCommentParams§is_live: Option<bool>§do_spam_check: Option<bool>§send_emails: Option<bool>§populate_notifications: Option<bool>Trait Implementations§
Source§impl Clone for SaveCommentParams
impl Clone for SaveCommentParams
Auto Trait Implementations§
impl Forget for SaveCommentParams
impl Freeze for SaveCommentParamswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<CommentUserMentionInfo>: Freeze,
PhantomData<CommentUserHashTagInfo>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<String>: Freeze,
PhantomData<(String, GifSearchResponseImagesInnerInner)>: Freeze,
impl Move for SaveCommentParams
impl RefUnwindSafe for SaveCommentParams
impl Send for SaveCommentParams
impl Sync for SaveCommentParams
impl Unpin for SaveCommentParams
impl UnsafeUnpin for SaveCommentParamswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<CommentUserMentionInfo>: UnsafeUnpin,
PhantomData<CommentUserHashTagInfo>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<(String, GifSearchResponseImagesInnerInner)>: UnsafeUnpin,
impl UnwindSafe for SaveCommentParamswhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
HashMap<String, GifSearchResponseImagesInnerInner>: UnwindSafe,
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