pub struct UpdateCommentAutomationRequest {
pub name: Option<String>,
pub keywords: Option<Vec<String>>,
pub match_mode: Option<MatchMode>,
pub dm_message: Option<String>,
pub buttons: Option<Vec<DmButton>>,
pub comment_reply: Option<String>,
pub is_active: Option<bool>,
}Fields§
§name: Option<String>§keywords: Option<Vec<String>>§match_mode: Option<MatchMode>§dm_message: Option<String>Inline DM buttons (1-3). Pass [] to clear all buttons.
comment_reply: Option<String>§is_active: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for UpdateCommentAutomationRequest
impl Clone for UpdateCommentAutomationRequest
Source§fn clone(&self) -> UpdateCommentAutomationRequest
fn clone(&self) -> UpdateCommentAutomationRequest
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 Default for UpdateCommentAutomationRequest
impl Default for UpdateCommentAutomationRequest
Source§fn default() -> UpdateCommentAutomationRequest
fn default() -> UpdateCommentAutomationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateCommentAutomationRequest
impl<'de> Deserialize<'de> for UpdateCommentAutomationRequest
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 UpdateCommentAutomationRequest
impl PartialEq for UpdateCommentAutomationRequest
Source§fn eq(&self, other: &UpdateCommentAutomationRequest) -> bool
fn eq(&self, other: &UpdateCommentAutomationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateCommentAutomationRequest
Auto Trait Implementations§
impl Freeze for UpdateCommentAutomationRequest
impl RefUnwindSafe for UpdateCommentAutomationRequest
impl Send for UpdateCommentAutomationRequest
impl Sync for UpdateCommentAutomationRequest
impl Unpin for UpdateCommentAutomationRequest
impl UnsafeUnpin for UpdateCommentAutomationRequest
impl UnwindSafe for UpdateCommentAutomationRequest
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