Struct aws_sdk_mailmanager::operation::get_archive_message_content::builders::GetArchiveMessageContentOutputBuilder
source · #[non_exhaustive]pub struct GetArchiveMessageContentOutputBuilder { /* private fields */ }
Expand description
A builder for GetArchiveMessageContentOutput
.
Implementations§
source§impl GetArchiveMessageContentOutputBuilder
impl GetArchiveMessageContentOutputBuilder
sourcepub fn body(self, input: MessageBody) -> Self
pub fn body(self, input: MessageBody) -> Self
The textual body content of the email message.
sourcepub fn set_body(self, input: Option<MessageBody>) -> Self
pub fn set_body(self, input: Option<MessageBody>) -> Self
The textual body content of the email message.
sourcepub fn get_body(&self) -> &Option<MessageBody>
pub fn get_body(&self) -> &Option<MessageBody>
The textual body content of the email message.
sourcepub fn build(self) -> GetArchiveMessageContentOutput
pub fn build(self) -> GetArchiveMessageContentOutput
Consumes the builder and constructs a GetArchiveMessageContentOutput
.
Trait Implementations§
source§impl Clone for GetArchiveMessageContentOutputBuilder
impl Clone for GetArchiveMessageContentOutputBuilder
source§fn clone(&self) -> GetArchiveMessageContentOutputBuilder
fn clone(&self) -> GetArchiveMessageContentOutputBuilder
Returns a copy 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 GetArchiveMessageContentOutputBuilder
impl Default for GetArchiveMessageContentOutputBuilder
source§fn default() -> GetArchiveMessageContentOutputBuilder
fn default() -> GetArchiveMessageContentOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetArchiveMessageContentOutputBuilder
impl PartialEq for GetArchiveMessageContentOutputBuilder
source§fn eq(&self, other: &GetArchiveMessageContentOutputBuilder) -> bool
fn eq(&self, other: &GetArchiveMessageContentOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetArchiveMessageContentOutputBuilder
Auto Trait Implementations§
impl Freeze for GetArchiveMessageContentOutputBuilder
impl RefUnwindSafe for GetArchiveMessageContentOutputBuilder
impl Send for GetArchiveMessageContentOutputBuilder
impl Sync for GetArchiveMessageContentOutputBuilder
impl Unpin for GetArchiveMessageContentOutputBuilder
impl UnwindSafe for GetArchiveMessageContentOutputBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.