#[non_exhaustive]pub struct ConnectAttachmentBuilder { /* private fields */ }
Expand description
A builder for ConnectAttachment
.
Implementations§
source§impl ConnectAttachmentBuilder
impl ConnectAttachmentBuilder
sourcepub fn attachment(self, input: Attachment) -> Self
pub fn attachment(self, input: Attachment) -> Self
The attachment details.
sourcepub fn set_attachment(self, input: Option<Attachment>) -> Self
pub fn set_attachment(self, input: Option<Attachment>) -> Self
The attachment details.
sourcepub fn get_attachment(&self) -> &Option<Attachment>
pub fn get_attachment(&self) -> &Option<Attachment>
The attachment details.
sourcepub fn transport_attachment_id(self, input: impl Into<String>) -> Self
pub fn transport_attachment_id(self, input: impl Into<String>) -> Self
The ID of the transport attachment.
sourcepub fn set_transport_attachment_id(self, input: Option<String>) -> Self
pub fn set_transport_attachment_id(self, input: Option<String>) -> Self
The ID of the transport attachment.
sourcepub fn get_transport_attachment_id(&self) -> &Option<String>
pub fn get_transport_attachment_id(&self) -> &Option<String>
The ID of the transport attachment.
sourcepub fn options(self, input: ConnectAttachmentOptions) -> Self
pub fn options(self, input: ConnectAttachmentOptions) -> Self
Options for connecting an attachment.
sourcepub fn set_options(self, input: Option<ConnectAttachmentOptions>) -> Self
pub fn set_options(self, input: Option<ConnectAttachmentOptions>) -> Self
Options for connecting an attachment.
sourcepub fn get_options(&self) -> &Option<ConnectAttachmentOptions>
pub fn get_options(&self) -> &Option<ConnectAttachmentOptions>
Options for connecting an attachment.
sourcepub fn build(self) -> ConnectAttachment
pub fn build(self) -> ConnectAttachment
Consumes the builder and constructs a ConnectAttachment
.
Trait Implementations§
source§impl Clone for ConnectAttachmentBuilder
impl Clone for ConnectAttachmentBuilder
source§fn clone(&self) -> ConnectAttachmentBuilder
fn clone(&self) -> ConnectAttachmentBuilder
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 ConnectAttachmentBuilder
impl Debug for ConnectAttachmentBuilder
source§impl Default for ConnectAttachmentBuilder
impl Default for ConnectAttachmentBuilder
source§fn default() -> ConnectAttachmentBuilder
fn default() -> ConnectAttachmentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConnectAttachmentBuilder
impl PartialEq for ConnectAttachmentBuilder
source§fn eq(&self, other: &ConnectAttachmentBuilder) -> bool
fn eq(&self, other: &ConnectAttachmentBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectAttachmentBuilder
Auto Trait Implementations§
impl Freeze for ConnectAttachmentBuilder
impl RefUnwindSafe for ConnectAttachmentBuilder
impl Send for ConnectAttachmentBuilder
impl Sync for ConnectAttachmentBuilder
impl Unpin for ConnectAttachmentBuilder
impl UnwindSafe for ConnectAttachmentBuilder
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>
Creates a shared type from an unshared type.