#[non_exhaustive]pub struct AssociateMacSecKeyOutput {
pub connection_id: Option<String>,
pub mac_sec_keys: Option<Vec<MacSecKey>>,
/* private fields */
}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 dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
mac_sec_keys: Option<Vec<MacSecKey>>The MAC Security (MACsec) security keys associated with the dedicated connection.
Implementations§
source§impl AssociateMacSecKeyOutput
impl AssociateMacSecKeyOutput
sourcepub fn connection_id(&self) -> Option<&str>
pub fn connection_id(&self) -> Option<&str>
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
sourcepub fn mac_sec_keys(&self) -> &[MacSecKey]
pub fn mac_sec_keys(&self) -> &[MacSecKey]
The MAC Security (MACsec) security keys associated with the dedicated connection.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .mac_sec_keys.is_none().
source§impl AssociateMacSecKeyOutput
impl AssociateMacSecKeyOutput
sourcepub fn builder() -> AssociateMacSecKeyOutputBuilder
pub fn builder() -> AssociateMacSecKeyOutputBuilder
Creates a new builder-style object to manufacture AssociateMacSecKeyOutput.
Trait Implementations§
source§impl Clone for AssociateMacSecKeyOutput
impl Clone for AssociateMacSecKeyOutput
source§fn clone(&self) -> AssociateMacSecKeyOutput
fn clone(&self) -> AssociateMacSecKeyOutput
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 AssociateMacSecKeyOutput
impl Debug for AssociateMacSecKeyOutput
source§impl PartialEq for AssociateMacSecKeyOutput
impl PartialEq for AssociateMacSecKeyOutput
source§fn eq(&self, other: &AssociateMacSecKeyOutput) -> bool
fn eq(&self, other: &AssociateMacSecKeyOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for AssociateMacSecKeyOutput
impl RequestId for AssociateMacSecKeyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.impl StructuralPartialEq for AssociateMacSecKeyOutput
Auto Trait Implementations§
impl RefUnwindSafe for AssociateMacSecKeyOutput
impl Send for AssociateMacSecKeyOutput
impl Sync for AssociateMacSecKeyOutput
impl Unpin for AssociateMacSecKeyOutput
impl UnwindSafe for AssociateMacSecKeyOutput
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.