pub struct CreateCommentAutomationRequest {
pub profile_id: String,
pub account_id: String,
pub platform_post_id: String,
pub post_id: Option<String>,
pub post_title: Option<String>,
pub name: String,
pub keywords: Option<Vec<String>>,
pub match_mode: Option<MatchMode>,
pub dm_message: String,
pub comment_reply: Option<String>,
}Fields§
§profile_id: String§account_id: StringInstagram or Facebook account ID
platform_post_id: StringPlatform media/post ID
post_id: Option<String>Zernio post ID (optional)
post_title: Option<String>Post content snippet for display
name: StringAutomation label
keywords: Option<Vec<String>>Trigger keywords (empty = any comment triggers)
match_mode: Option<MatchMode>§dm_message: StringDM text to send to commenter
comment_reply: Option<String>Optional public reply to the comment
Implementations§
Trait Implementations§
Source§impl Clone for CreateCommentAutomationRequest
impl Clone for CreateCommentAutomationRequest
Source§fn clone(&self) -> CreateCommentAutomationRequest
fn clone(&self) -> CreateCommentAutomationRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 CreateCommentAutomationRequest
impl Default for CreateCommentAutomationRequest
Source§fn default() -> CreateCommentAutomationRequest
fn default() -> CreateCommentAutomationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateCommentAutomationRequest
impl<'de> Deserialize<'de> for CreateCommentAutomationRequest
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 CreateCommentAutomationRequest
impl PartialEq for CreateCommentAutomationRequest
Source§fn eq(&self, other: &CreateCommentAutomationRequest) -> bool
fn eq(&self, other: &CreateCommentAutomationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateCommentAutomationRequest
Auto Trait Implementations§
impl Freeze for CreateCommentAutomationRequest
impl RefUnwindSafe for CreateCommentAutomationRequest
impl Send for CreateCommentAutomationRequest
impl Sync for CreateCommentAutomationRequest
impl Unpin for CreateCommentAutomationRequest
impl UnsafeUnpin for CreateCommentAutomationRequest
impl UnwindSafe for CreateCommentAutomationRequest
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