#[non_exhaustive]pub struct ReceiveMessageOutputBuilder { /* private fields */ }
Expand description
A builder for ReceiveMessageOutput
.
Implementations§
source§impl ReceiveMessageOutputBuilder
impl ReceiveMessageOutputBuilder
sourcepub fn messages(self, input: Message) -> Self
pub fn messages(self, input: Message) -> Self
Appends an item to messages
.
To override the contents of this collection use set_messages
.
A list of messages.
sourcepub fn set_messages(self, input: Option<Vec<Message>>) -> Self
pub fn set_messages(self, input: Option<Vec<Message>>) -> Self
A list of messages.
sourcepub fn get_messages(&self) -> &Option<Vec<Message>>
pub fn get_messages(&self) -> &Option<Vec<Message>>
A list of messages.
sourcepub fn build(self) -> ReceiveMessageOutput
pub fn build(self) -> ReceiveMessageOutput
Consumes the builder and constructs a ReceiveMessageOutput
.
Trait Implementations§
source§impl Clone for ReceiveMessageOutputBuilder
impl Clone for ReceiveMessageOutputBuilder
source§fn clone(&self) -> ReceiveMessageOutputBuilder
fn clone(&self) -> ReceiveMessageOutputBuilder
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 Debug for ReceiveMessageOutputBuilder
impl Debug for ReceiveMessageOutputBuilder
source§impl Default for ReceiveMessageOutputBuilder
impl Default for ReceiveMessageOutputBuilder
source§fn default() -> ReceiveMessageOutputBuilder
fn default() -> ReceiveMessageOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReceiveMessageOutputBuilder
impl PartialEq for ReceiveMessageOutputBuilder
source§fn eq(&self, other: &ReceiveMessageOutputBuilder) -> bool
fn eq(&self, other: &ReceiveMessageOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReceiveMessageOutputBuilder
Auto Trait Implementations§
impl Freeze for ReceiveMessageOutputBuilder
impl RefUnwindSafe for ReceiveMessageOutputBuilder
impl Send for ReceiveMessageOutputBuilder
impl Sync for ReceiveMessageOutputBuilder
impl Unpin for ReceiveMessageOutputBuilder
impl UnwindSafe for ReceiveMessageOutputBuilder
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.