Struct aws_sdk_directconnect::operation::associate_hosted_connection::AssociateHostedConnectionInput
source · #[non_exhaustive]pub struct AssociateHostedConnectionInput {
pub connection_id: Option<String>,
pub parent_connection_id: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.connection_id: Option<String>The ID of the hosted connection.
parent_connection_id: Option<String>The ID of the interconnect or the LAG.
Implementations§
source§impl AssociateHostedConnectionInput
impl AssociateHostedConnectionInput
sourcepub fn connection_id(&self) -> Option<&str>
pub fn connection_id(&self) -> Option<&str>
The ID of the hosted connection.
sourcepub fn parent_connection_id(&self) -> Option<&str>
pub fn parent_connection_id(&self) -> Option<&str>
The ID of the interconnect or the LAG.
source§impl AssociateHostedConnectionInput
impl AssociateHostedConnectionInput
sourcepub fn builder() -> AssociateHostedConnectionInputBuilder
pub fn builder() -> AssociateHostedConnectionInputBuilder
Creates a new builder-style object to manufacture AssociateHostedConnectionInput.
Trait Implementations§
source§impl Clone for AssociateHostedConnectionInput
impl Clone for AssociateHostedConnectionInput
source§fn clone(&self) -> AssociateHostedConnectionInput
fn clone(&self) -> AssociateHostedConnectionInput
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 PartialEq for AssociateHostedConnectionInput
impl PartialEq for AssociateHostedConnectionInput
source§fn eq(&self, other: &AssociateHostedConnectionInput) -> bool
fn eq(&self, other: &AssociateHostedConnectionInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssociateHostedConnectionInput
Auto Trait Implementations§
impl Freeze for AssociateHostedConnectionInput
impl RefUnwindSafe for AssociateHostedConnectionInput
impl Send for AssociateHostedConnectionInput
impl Sync for AssociateHostedConnectionInput
impl Unpin for AssociateHostedConnectionInput
impl UnwindSafe for AssociateHostedConnectionInput
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.