Struct aws_sdk_networkmanager::model::Attachment
source · [−]#[non_exhaustive]pub struct Attachment {Show 14 fields
pub core_network_id: Option<String>,
pub core_network_arn: Option<String>,
pub attachment_id: Option<String>,
pub owner_account_id: Option<String>,
pub attachment_type: Option<AttachmentType>,
pub state: Option<AttachmentState>,
pub edge_location: Option<String>,
pub resource_arn: Option<String>,
pub attachment_policy_rule_number: Option<i32>,
pub segment_name: Option<String>,
pub tags: Option<Vec<Tag>>,
pub proposed_segment_change: Option<ProposedSegmentChange>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
}
Expand description
Describes a core network attachment.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.core_network_id: Option<String>
A core network ID.
core_network_arn: Option<String>
The ARN of a core network.
attachment_id: Option<String>
The ID of the attachment.
owner_account_id: Option<String>
The ID of the attachment account owner.
attachment_type: Option<AttachmentType>
The type of attachment.
state: Option<AttachmentState>
The state of the attachment.
edge_location: Option<String>
The Region where the edge is located.
resource_arn: Option<String>
The attachment resource ARN.
attachment_policy_rule_number: Option<i32>
The policy rule number associated with the attachment.
segment_name: Option<String>
The name of the segment attachment.
The tags associated with the attachment.
proposed_segment_change: Option<ProposedSegmentChange>
The attachment to move from one segment to another.
created_at: Option<DateTime>
The timestamp when the attachment was created.
updated_at: Option<DateTime>
The timestamp when the attachment was last updated.
Implementations
sourceimpl Attachment
impl Attachment
sourcepub fn core_network_id(&self) -> Option<&str>
pub fn core_network_id(&self) -> Option<&str>
A core network ID.
sourcepub fn core_network_arn(&self) -> Option<&str>
pub fn core_network_arn(&self) -> Option<&str>
The ARN of a core network.
sourcepub fn attachment_id(&self) -> Option<&str>
pub fn attachment_id(&self) -> Option<&str>
The ID of the attachment.
sourcepub fn owner_account_id(&self) -> Option<&str>
pub fn owner_account_id(&self) -> Option<&str>
The ID of the attachment account owner.
sourcepub fn attachment_type(&self) -> Option<&AttachmentType>
pub fn attachment_type(&self) -> Option<&AttachmentType>
The type of attachment.
sourcepub fn state(&self) -> Option<&AttachmentState>
pub fn state(&self) -> Option<&AttachmentState>
The state of the attachment.
sourcepub fn edge_location(&self) -> Option<&str>
pub fn edge_location(&self) -> Option<&str>
The Region where the edge is located.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The attachment resource ARN.
sourcepub fn attachment_policy_rule_number(&self) -> Option<i32>
pub fn attachment_policy_rule_number(&self) -> Option<i32>
The policy rule number associated with the attachment.
sourcepub fn segment_name(&self) -> Option<&str>
pub fn segment_name(&self) -> Option<&str>
The name of the segment attachment.
The tags associated with the attachment.
sourcepub fn proposed_segment_change(&self) -> Option<&ProposedSegmentChange>
pub fn proposed_segment_change(&self) -> Option<&ProposedSegmentChange>
The attachment to move from one segment to another.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp when the attachment was created.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The timestamp when the attachment was last updated.
sourceimpl Attachment
impl Attachment
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Attachment
Trait Implementations
sourceimpl Clone for Attachment
impl Clone for Attachment
sourcefn clone(&self) -> Attachment
fn clone(&self) -> Attachment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Attachment
impl Debug for Attachment
sourceimpl PartialEq<Attachment> for Attachment
impl PartialEq<Attachment> for Attachment
sourcefn eq(&self, other: &Attachment) -> bool
fn eq(&self, other: &Attachment) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Attachment) -> bool
fn ne(&self, other: &Attachment) -> bool
This method tests for !=
.
impl StructuralPartialEq for Attachment
Auto Trait Implementations
impl RefUnwindSafe for Attachment
impl Send for Attachment
impl Sync for Attachment
impl Unpin for Attachment
impl UnwindSafe for Attachment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more