Struct aws_sdk_ssm::types::AccountSharingInfo
source · #[non_exhaustive]pub struct AccountSharingInfo {
pub account_id: Option<String>,
pub shared_document_version: Option<String>,
}
Expand description
Information includes the Amazon Web Services account ID where the current document is shared and the version shared with that account.
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.account_id: Option<String>
The Amazon Web Services account ID where the current document is shared.
The version of the current document shared with the account.
Implementations§
source§impl AccountSharingInfo
impl AccountSharingInfo
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The Amazon Web Services account ID where the current document is shared.
The version of the current document shared with the account.
source§impl AccountSharingInfo
impl AccountSharingInfo
sourcepub fn builder() -> AccountSharingInfoBuilder
pub fn builder() -> AccountSharingInfoBuilder
Creates a new builder-style object to manufacture AccountSharingInfo
.
Trait Implementations§
source§impl Clone for AccountSharingInfo
impl Clone for AccountSharingInfo
source§fn clone(&self) -> AccountSharingInfo
fn clone(&self) -> AccountSharingInfo
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 AccountSharingInfo
impl Debug for AccountSharingInfo
source§impl PartialEq for AccountSharingInfo
impl PartialEq for AccountSharingInfo
source§fn eq(&self, other: &AccountSharingInfo) -> bool
fn eq(&self, other: &AccountSharingInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccountSharingInfo
Auto Trait Implementations§
impl Freeze for AccountSharingInfo
impl RefUnwindSafe for AccountSharingInfo
impl Send for AccountSharingInfo
impl Sync for AccountSharingInfo
impl Unpin for AccountSharingInfo
impl UnwindSafe for AccountSharingInfo
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.