Struct aws_sdk_datazone::types::SubscribedAsset
source · #[non_exhaustive]pub struct SubscribedAsset {
pub asset_id: String,
pub asset_revision: String,
pub status: SubscriptionGrantStatus,
pub target_name: Option<String>,
pub failure_cause: Option<FailureCause>,
pub granted_timestamp: Option<DateTime>,
pub failure_timestamp: Option<DateTime>,
}
Expand description
The details of the asset for which the subscription grant is created.
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.asset_id: String
The identifier of the asset for which the subscription grant is created.
asset_revision: String
The revision of the asset for which the subscription grant is created.
status: SubscriptionGrantStatus
The status of the asset for which the subscription grant is created.
target_name: Option<String>
The target name of the asset for which the subscription grant is created.
failure_cause: Option<FailureCause>
The failure cause included in the details of the asset for which the subscription grant is created.
granted_timestamp: Option<DateTime>
The timestamp of when the subscription grant to the asset is created.
failure_timestamp: Option<DateTime>
The failure timestamp included in the details of the asset for which the subscription grant is created.
Implementations§
source§impl SubscribedAsset
impl SubscribedAsset
sourcepub fn asset_id(&self) -> &str
pub fn asset_id(&self) -> &str
The identifier of the asset for which the subscription grant is created.
sourcepub fn asset_revision(&self) -> &str
pub fn asset_revision(&self) -> &str
The revision of the asset for which the subscription grant is created.
sourcepub fn status(&self) -> &SubscriptionGrantStatus
pub fn status(&self) -> &SubscriptionGrantStatus
The status of the asset for which the subscription grant is created.
sourcepub fn target_name(&self) -> Option<&str>
pub fn target_name(&self) -> Option<&str>
The target name of the asset for which the subscription grant is created.
sourcepub fn failure_cause(&self) -> Option<&FailureCause>
pub fn failure_cause(&self) -> Option<&FailureCause>
The failure cause included in the details of the asset for which the subscription grant is created.
sourcepub fn granted_timestamp(&self) -> Option<&DateTime>
pub fn granted_timestamp(&self) -> Option<&DateTime>
The timestamp of when the subscription grant to the asset is created.
sourcepub fn failure_timestamp(&self) -> Option<&DateTime>
pub fn failure_timestamp(&self) -> Option<&DateTime>
The failure timestamp included in the details of the asset for which the subscription grant is created.
source§impl SubscribedAsset
impl SubscribedAsset
sourcepub fn builder() -> SubscribedAssetBuilder
pub fn builder() -> SubscribedAssetBuilder
Creates a new builder-style object to manufacture SubscribedAsset
.
Trait Implementations§
source§impl Clone for SubscribedAsset
impl Clone for SubscribedAsset
source§fn clone(&self) -> SubscribedAsset
fn clone(&self) -> SubscribedAsset
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SubscribedAsset
impl Debug for SubscribedAsset
source§impl PartialEq for SubscribedAsset
impl PartialEq for SubscribedAsset
impl StructuralPartialEq for SubscribedAsset
Auto Trait Implementations§
impl Freeze for SubscribedAsset
impl RefUnwindSafe for SubscribedAsset
impl Send for SubscribedAsset
impl Sync for SubscribedAsset
impl Unpin for SubscribedAsset
impl UnwindSafe for SubscribedAsset
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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