Struct aws_sdk_omics::types::ShareDetails
source · #[non_exhaustive]pub struct ShareDetails {
pub share_id: Option<String>,
pub resource_arn: Option<String>,
pub resource_id: Option<String>,
pub principal_subscriber: Option<String>,
pub owner_id: Option<String>,
pub status: Option<ShareStatus>,
pub status_message: Option<String>,
pub share_name: Option<String>,
pub creation_time: Option<DateTime>,
pub update_time: Option<DateTime>,
}
Expand description
The details of a resource share.
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.The ID of the resource share.
resource_arn: Option<String>
The Arn of the shared resource.
resource_id: Option<String>
The ID of the shared resource.
principal_subscriber: Option<String>
The principal subscriber is the account that is sharing the resource.
owner_id: Option<String>
The account ID for the data owner. The owner creates the resource share.
status: Option<ShareStatus>
The status of the share.
status_message: Option<String>
The status message for a resource share. It provides additional details about the share status.
The name of the resource share.
creation_time: Option<DateTime>
The timestamp of when the resource share was created.
update_time: Option<DateTime>
The timestamp of the resource share update.
Implementations§
The ID of the resource share.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Arn of the shared resource.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the shared resource.
sourcepub fn principal_subscriber(&self) -> Option<&str>
pub fn principal_subscriber(&self) -> Option<&str>
The principal subscriber is the account that is sharing the resource.
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The account ID for the data owner. The owner creates the resource share.
sourcepub fn status(&self) -> Option<&ShareStatus>
pub fn status(&self) -> Option<&ShareStatus>
The status of the share.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The status message for a resource share. It provides additional details about the share status.
The name of the resource share.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The timestamp of when the resource share was created.
sourcepub fn update_time(&self) -> Option<&DateTime>
pub fn update_time(&self) -> Option<&DateTime>
The timestamp of the resource share update.
sourcepub fn builder() -> ShareDetailsBuilder
pub fn builder() -> ShareDetailsBuilder
Creates a new builder-style object to manufacture ShareDetails
.
Trait Implementations§
source§fn clone(&self) -> ShareDetails
fn clone(&self) -> ShareDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§fn eq(&self, other: &ShareDetails) -> bool
fn eq(&self, other: &ShareDetails) -> bool
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
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
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>
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>
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 more