Struct aws_sdk_sesv2::types::builders::ComplaintBuilder
source · #[non_exhaustive]pub struct ComplaintBuilder { /* private fields */ }
Expand description
A builder for Complaint
.
Implementations§
source§impl ComplaintBuilder
impl ComplaintBuilder
sourcepub fn complaint_sub_type(self, input: impl Into<String>) -> Self
pub fn complaint_sub_type(self, input: impl Into<String>) -> Self
Can either be null
or OnAccountSuppressionList
. If the value is OnAccountSuppressionList
, SES accepted the message, but didn't attempt to send it because it was on the account-level suppression list.
sourcepub fn set_complaint_sub_type(self, input: Option<String>) -> Self
pub fn set_complaint_sub_type(self, input: Option<String>) -> Self
Can either be null
or OnAccountSuppressionList
. If the value is OnAccountSuppressionList
, SES accepted the message, but didn't attempt to send it because it was on the account-level suppression list.
sourcepub fn get_complaint_sub_type(&self) -> &Option<String>
pub fn get_complaint_sub_type(&self) -> &Option<String>
Can either be null
or OnAccountSuppressionList
. If the value is OnAccountSuppressionList
, SES accepted the message, but didn't attempt to send it because it was on the account-level suppression list.
sourcepub fn complaint_feedback_type(self, input: impl Into<String>) -> Self
pub fn complaint_feedback_type(self, input: impl Into<String>) -> Self
The value of the Feedback-Type
field from the feedback report received from the ISP.
sourcepub fn set_complaint_feedback_type(self, input: Option<String>) -> Self
pub fn set_complaint_feedback_type(self, input: Option<String>) -> Self
The value of the Feedback-Type
field from the feedback report received from the ISP.
sourcepub fn get_complaint_feedback_type(&self) -> &Option<String>
pub fn get_complaint_feedback_type(&self) -> &Option<String>
The value of the Feedback-Type
field from the feedback report received from the ISP.
Trait Implementations§
source§impl Clone for ComplaintBuilder
impl Clone for ComplaintBuilder
source§fn clone(&self) -> ComplaintBuilder
fn clone(&self) -> ComplaintBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComplaintBuilder
impl Debug for ComplaintBuilder
source§impl Default for ComplaintBuilder
impl Default for ComplaintBuilder
source§fn default() -> ComplaintBuilder
fn default() -> ComplaintBuilder
source§impl PartialEq for ComplaintBuilder
impl PartialEq for ComplaintBuilder
source§fn eq(&self, other: &ComplaintBuilder) -> bool
fn eq(&self, other: &ComplaintBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ComplaintBuilder
Auto Trait Implementations§
impl Freeze for ComplaintBuilder
impl RefUnwindSafe for ComplaintBuilder
impl Send for ComplaintBuilder
impl Sync for ComplaintBuilder
impl Unpin for ComplaintBuilder
impl UnwindSafe for ComplaintBuilder
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