pub struct UpdateCampaignRequest {
pub name: Option<String>,
pub campaign_group_id: Option<String>,
pub mailing_list_id: Option<String>,
pub audience_segment_id: Option<String>,
pub audience_filter: Option<AudienceFilterInRequest>,
pub scheduling: Option<CampaignSchedulingRequest>,
}Expand description
At least one field must be provided.
Fields§
§name: Option<String>The updated campaign name.
campaign_group_id: Option<String>The ID of the group to move this campaign to.
mailing_list_id: Option<String>The ID of the mailing list to send to.
audience_segment_id: Option<String>The ID of an audience segment. Setting this without also providing audienceFilter clears any existing audienceFilter. If both are provided, the filter is applied on top of the segment’s filter.
audience_filter: Option<AudienceFilterInRequest>§scheduling: Option<CampaignSchedulingRequest>When the campaign should send. timestamp is required and must be in the future when method is schedule, and must be omitted when method is now.
Trait Implementations§
Source§impl Clone for UpdateCampaignRequest
impl Clone for UpdateCampaignRequest
Source§impl Debug for UpdateCampaignRequest
impl Debug for UpdateCampaignRequest
Source§impl Default for UpdateCampaignRequest
impl Default for UpdateCampaignRequest
Source§impl PartialEq for UpdateCampaignRequest
impl PartialEq for UpdateCampaignRequest
Source§impl Serialize for UpdateCampaignRequest
impl Serialize for UpdateCampaignRequest
impl StructuralPartialEq for UpdateCampaignRequest
Source§impl Validate for UpdateCampaignRequest
impl Validate for UpdateCampaignRequest
Source§impl<'v_a> ValidateArgs<'v_a> for UpdateCampaignRequest
impl<'v_a> ValidateArgs<'v_a> for UpdateCampaignRequest
Auto Trait Implementations§
impl Freeze for UpdateCampaignRequest
impl RefUnwindSafe for UpdateCampaignRequest
impl Send for UpdateCampaignRequest
impl Sync for UpdateCampaignRequest
impl Unpin for UpdateCampaignRequest
impl UnsafeUnpin for UpdateCampaignRequest
impl UnwindSafe for UpdateCampaignRequest
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