#[non_exhaustive]pub struct DomainDeliverabilityCampaignBuilder { /* private fields */ }
Expand description
A builder for DomainDeliverabilityCampaign
.
Implementations§
source§impl DomainDeliverabilityCampaignBuilder
impl DomainDeliverabilityCampaignBuilder
sourcepub fn campaign_id(self, input: impl Into<String>) -> Self
pub fn campaign_id(self, input: impl Into<String>) -> Self
The unique identifier for the campaign. The Deliverability dashboard automatically generates and assigns this identifier to a campaign.
sourcepub fn set_campaign_id(self, input: Option<String>) -> Self
pub fn set_campaign_id(self, input: Option<String>) -> Self
The unique identifier for the campaign. The Deliverability dashboard automatically generates and assigns this identifier to a campaign.
sourcepub fn get_campaign_id(&self) -> &Option<String>
pub fn get_campaign_id(&self) -> &Option<String>
The unique identifier for the campaign. The Deliverability dashboard automatically generates and assigns this identifier to a campaign.
sourcepub fn image_url(self, input: impl Into<String>) -> Self
pub fn image_url(self, input: impl Into<String>) -> Self
The URL of an image that contains a snapshot of the email message that was sent.
sourcepub fn set_image_url(self, input: Option<String>) -> Self
pub fn set_image_url(self, input: Option<String>) -> Self
The URL of an image that contains a snapshot of the email message that was sent.
sourcepub fn get_image_url(&self) -> &Option<String>
pub fn get_image_url(&self) -> &Option<String>
The URL of an image that contains a snapshot of the email message that was sent.
sourcepub fn subject(self, input: impl Into<String>) -> Self
pub fn subject(self, input: impl Into<String>) -> Self
The subject line, or title, of the email message.
sourcepub fn set_subject(self, input: Option<String>) -> Self
pub fn set_subject(self, input: Option<String>) -> Self
The subject line, or title, of the email message.
sourcepub fn get_subject(&self) -> &Option<String>
pub fn get_subject(&self) -> &Option<String>
The subject line, or title, of the email message.
sourcepub fn from_address(self, input: impl Into<String>) -> Self
pub fn from_address(self, input: impl Into<String>) -> Self
The verified email address that the email message was sent from.
sourcepub fn set_from_address(self, input: Option<String>) -> Self
pub fn set_from_address(self, input: Option<String>) -> Self
The verified email address that the email message was sent from.
sourcepub fn get_from_address(&self) -> &Option<String>
pub fn get_from_address(&self) -> &Option<String>
The verified email address that the email message was sent from.
sourcepub fn sending_ips(self, input: impl Into<String>) -> Self
pub fn sending_ips(self, input: impl Into<String>) -> Self
Appends an item to sending_ips
.
To override the contents of this collection use set_sending_ips
.
The IP addresses that were used to send the email message.
sourcepub fn set_sending_ips(self, input: Option<Vec<String>>) -> Self
pub fn set_sending_ips(self, input: Option<Vec<String>>) -> Self
The IP addresses that were used to send the email message.
sourcepub fn get_sending_ips(&self) -> &Option<Vec<String>>
pub fn get_sending_ips(&self) -> &Option<Vec<String>>
The IP addresses that were used to send the email message.
sourcepub fn first_seen_date_time(self, input: DateTime) -> Self
pub fn first_seen_date_time(self, input: DateTime) -> Self
The first time when the email message was delivered to any recipient's inbox. This value can help you determine how long it took for a campaign to deliver an email message.
sourcepub fn set_first_seen_date_time(self, input: Option<DateTime>) -> Self
pub fn set_first_seen_date_time(self, input: Option<DateTime>) -> Self
The first time when the email message was delivered to any recipient's inbox. This value can help you determine how long it took for a campaign to deliver an email message.
sourcepub fn get_first_seen_date_time(&self) -> &Option<DateTime>
pub fn get_first_seen_date_time(&self) -> &Option<DateTime>
The first time when the email message was delivered to any recipient's inbox. This value can help you determine how long it took for a campaign to deliver an email message.
sourcepub fn last_seen_date_time(self, input: DateTime) -> Self
pub fn last_seen_date_time(self, input: DateTime) -> Self
The last time when the email message was delivered to any recipient's inbox. This value can help you determine how long it took for a campaign to deliver an email message.
sourcepub fn set_last_seen_date_time(self, input: Option<DateTime>) -> Self
pub fn set_last_seen_date_time(self, input: Option<DateTime>) -> Self
The last time when the email message was delivered to any recipient's inbox. This value can help you determine how long it took for a campaign to deliver an email message.
sourcepub fn get_last_seen_date_time(&self) -> &Option<DateTime>
pub fn get_last_seen_date_time(&self) -> &Option<DateTime>
The last time when the email message was delivered to any recipient's inbox. This value can help you determine how long it took for a campaign to deliver an email message.
sourcepub fn inbox_count(self, input: i64) -> Self
pub fn inbox_count(self, input: i64) -> Self
The number of email messages that were delivered to recipients’ inboxes.
sourcepub fn set_inbox_count(self, input: Option<i64>) -> Self
pub fn set_inbox_count(self, input: Option<i64>) -> Self
The number of email messages that were delivered to recipients’ inboxes.
sourcepub fn get_inbox_count(&self) -> &Option<i64>
pub fn get_inbox_count(&self) -> &Option<i64>
The number of email messages that were delivered to recipients’ inboxes.
sourcepub fn spam_count(self, input: i64) -> Self
pub fn spam_count(self, input: i64) -> Self
The number of email messages that were delivered to recipients' spam or junk mail folders.
sourcepub fn set_spam_count(self, input: Option<i64>) -> Self
pub fn set_spam_count(self, input: Option<i64>) -> Self
The number of email messages that were delivered to recipients' spam or junk mail folders.
sourcepub fn get_spam_count(&self) -> &Option<i64>
pub fn get_spam_count(&self) -> &Option<i64>
The number of email messages that were delivered to recipients' spam or junk mail folders.
sourcepub fn read_rate(self, input: f64) -> Self
pub fn read_rate(self, input: f64) -> Self
The percentage of email messages that were opened by recipients. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
sourcepub fn set_read_rate(self, input: Option<f64>) -> Self
pub fn set_read_rate(self, input: Option<f64>) -> Self
The percentage of email messages that were opened by recipients. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
sourcepub fn get_read_rate(&self) -> &Option<f64>
pub fn get_read_rate(&self) -> &Option<f64>
The percentage of email messages that were opened by recipients. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
sourcepub fn delete_rate(self, input: f64) -> Self
pub fn delete_rate(self, input: f64) -> Self
The percentage of email messages that were deleted by recipients, without being opened first. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
sourcepub fn set_delete_rate(self, input: Option<f64>) -> Self
pub fn set_delete_rate(self, input: Option<f64>) -> Self
The percentage of email messages that were deleted by recipients, without being opened first. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
sourcepub fn get_delete_rate(&self) -> &Option<f64>
pub fn get_delete_rate(&self) -> &Option<f64>
The percentage of email messages that were deleted by recipients, without being opened first. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
sourcepub fn read_delete_rate(self, input: f64) -> Self
pub fn read_delete_rate(self, input: f64) -> Self
The percentage of email messages that were opened and then deleted by recipients. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
sourcepub fn set_read_delete_rate(self, input: Option<f64>) -> Self
pub fn set_read_delete_rate(self, input: Option<f64>) -> Self
The percentage of email messages that were opened and then deleted by recipients. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
sourcepub fn get_read_delete_rate(&self) -> &Option<f64>
pub fn get_read_delete_rate(&self) -> &Option<f64>
The percentage of email messages that were opened and then deleted by recipients. Due to technical limitations, this value only includes recipients who opened the message by using an email client that supports images.
sourcepub fn projected_volume(self, input: i64) -> Self
pub fn projected_volume(self, input: i64) -> Self
The projected number of recipients that the email message was sent to.
sourcepub fn set_projected_volume(self, input: Option<i64>) -> Self
pub fn set_projected_volume(self, input: Option<i64>) -> Self
The projected number of recipients that the email message was sent to.
sourcepub fn get_projected_volume(&self) -> &Option<i64>
pub fn get_projected_volume(&self) -> &Option<i64>
The projected number of recipients that the email message was sent to.
sourcepub fn esps(self, input: impl Into<String>) -> Self
pub fn esps(self, input: impl Into<String>) -> Self
Appends an item to esps
.
To override the contents of this collection use set_esps
.
The major email providers who handled the email message.
sourcepub fn set_esps(self, input: Option<Vec<String>>) -> Self
pub fn set_esps(self, input: Option<Vec<String>>) -> Self
The major email providers who handled the email message.
sourcepub fn get_esps(&self) -> &Option<Vec<String>>
pub fn get_esps(&self) -> &Option<Vec<String>>
The major email providers who handled the email message.
sourcepub fn build(self) -> DomainDeliverabilityCampaign
pub fn build(self) -> DomainDeliverabilityCampaign
Consumes the builder and constructs a DomainDeliverabilityCampaign
.
Trait Implementations§
source§impl Clone for DomainDeliverabilityCampaignBuilder
impl Clone for DomainDeliverabilityCampaignBuilder
source§fn clone(&self) -> DomainDeliverabilityCampaignBuilder
fn clone(&self) -> DomainDeliverabilityCampaignBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DomainDeliverabilityCampaignBuilder
impl Default for DomainDeliverabilityCampaignBuilder
source§fn default() -> DomainDeliverabilityCampaignBuilder
fn default() -> DomainDeliverabilityCampaignBuilder
source§impl PartialEq for DomainDeliverabilityCampaignBuilder
impl PartialEq for DomainDeliverabilityCampaignBuilder
source§fn eq(&self, other: &DomainDeliverabilityCampaignBuilder) -> bool
fn eq(&self, other: &DomainDeliverabilityCampaignBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DomainDeliverabilityCampaignBuilder
Auto Trait Implementations§
impl Freeze for DomainDeliverabilityCampaignBuilder
impl RefUnwindSafe for DomainDeliverabilityCampaignBuilder
impl Send for DomainDeliverabilityCampaignBuilder
impl Sync for DomainDeliverabilityCampaignBuilder
impl Unpin for DomainDeliverabilityCampaignBuilder
impl UnwindSafe for DomainDeliverabilityCampaignBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more