#[non_exhaustive]pub struct LinkAssociationBuilder { /* private fields */ }
Expand description
A builder for LinkAssociation
.
Implementations§
source§impl LinkAssociationBuilder
impl LinkAssociationBuilder
sourcepub fn global_network_id(self, input: impl Into<String>) -> Self
pub fn global_network_id(self, input: impl Into<String>) -> Self
The ID of the global network.
sourcepub fn set_global_network_id(self, input: Option<String>) -> Self
pub fn set_global_network_id(self, input: Option<String>) -> Self
The ID of the global network.
sourcepub fn get_global_network_id(&self) -> &Option<String>
pub fn get_global_network_id(&self) -> &Option<String>
The ID of the global network.
sourcepub fn device_id(self, input: impl Into<String>) -> Self
pub fn device_id(self, input: impl Into<String>) -> Self
The device ID for the link association.
sourcepub fn set_device_id(self, input: Option<String>) -> Self
pub fn set_device_id(self, input: Option<String>) -> Self
The device ID for the link association.
sourcepub fn get_device_id(&self) -> &Option<String>
pub fn get_device_id(&self) -> &Option<String>
The device ID for the link association.
sourcepub fn set_link_id(self, input: Option<String>) -> Self
pub fn set_link_id(self, input: Option<String>) -> Self
The ID of the link.
sourcepub fn get_link_id(&self) -> &Option<String>
pub fn get_link_id(&self) -> &Option<String>
The ID of the link.
sourcepub fn link_association_state(self, input: LinkAssociationState) -> Self
pub fn link_association_state(self, input: LinkAssociationState) -> Self
The state of the association.
sourcepub fn set_link_association_state(
self,
input: Option<LinkAssociationState>
) -> Self
pub fn set_link_association_state( self, input: Option<LinkAssociationState> ) -> Self
The state of the association.
sourcepub fn get_link_association_state(&self) -> &Option<LinkAssociationState>
pub fn get_link_association_state(&self) -> &Option<LinkAssociationState>
The state of the association.
sourcepub fn build(self) -> LinkAssociation
pub fn build(self) -> LinkAssociation
Consumes the builder and constructs a LinkAssociation
.
Trait Implementations§
source§impl Clone for LinkAssociationBuilder
impl Clone for LinkAssociationBuilder
source§fn clone(&self) -> LinkAssociationBuilder
fn clone(&self) -> LinkAssociationBuilder
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 LinkAssociationBuilder
impl Debug for LinkAssociationBuilder
source§impl Default for LinkAssociationBuilder
impl Default for LinkAssociationBuilder
source§fn default() -> LinkAssociationBuilder
fn default() -> LinkAssociationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LinkAssociationBuilder
impl PartialEq for LinkAssociationBuilder
source§fn eq(&self, other: &LinkAssociationBuilder) -> bool
fn eq(&self, other: &LinkAssociationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LinkAssociationBuilder
Auto Trait Implementations§
impl Freeze for LinkAssociationBuilder
impl RefUnwindSafe for LinkAssociationBuilder
impl Send for LinkAssociationBuilder
impl Sync for LinkAssociationBuilder
impl Unpin for LinkAssociationBuilder
impl UnwindSafe for LinkAssociationBuilder
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.