pub struct CampaignResponse {
pub id: String,
pub url: String,
pub name: String,
pub status: Status2,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub email_message_id: Option<String>,
pub campaign_group_id: Option<String>,
pub mailing_list_id: Option<String>,
pub audience_segment_id: Option<String>,
pub audience_filter: Option<AudienceFilter>,
pub scheduling: CampaignScheduling,
}Fields§
§id: StringThe ID of the campaign.
url: StringThe URL of the campaign in the Loops app.
name: StringThe name of the campaign.
status: Status2The status of the campaign.
created_at: DateTime<Utc>ISO 8601 timestamp for when the campaign was created.
updated_at: DateTime<Utc>ISO 8601 timestamp for when the campaign was last updated.
email_message_id: Option<String>The associated email message ID.
campaign_group_id: Option<String>The ID of the campaign group this campaign belongs to.
mailing_list_id: Option<String>The ID of the mailing list this campaign sends to, if set.
audience_segment_id: Option<String>The ID of the audience segment this campaign targets, if set.
audience_filter: Option<AudienceFilter>The filter rules that define the audience for this campaign, if set.
scheduling: CampaignSchedulingWhen the campaign is scheduled to send.
Trait Implementations§
Source§impl Clone for CampaignResponse
impl Clone for CampaignResponse
Source§impl Debug for CampaignResponse
impl Debug for CampaignResponse
Source§impl Default for CampaignResponse
impl Default for CampaignResponse
Source§impl<'de> Deserialize<'de> for CampaignResponse
impl<'de> Deserialize<'de> for CampaignResponse
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 CampaignResponse
impl PartialEq for CampaignResponse
impl StructuralPartialEq for CampaignResponse
Auto Trait Implementations§
impl Freeze for CampaignResponse
impl RefUnwindSafe for CampaignResponse
impl Send for CampaignResponse
impl Sync for CampaignResponse
impl Unpin for CampaignResponse
impl UnsafeUnpin for CampaignResponse
impl UnwindSafe for CampaignResponse
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