Struct aws_sdk_datazone::types::SubscribedAsset
source · #[non_exhaustive]pub struct SubscribedAsset {
pub asset_id: Option<String>,
pub asset_revision: Option<String>,
pub status: Option<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: Option<String>
The identifier of the asset for which the subscription grant is created.
asset_revision: Option<String>
The revision of the asset for which the subscription grant is created.
status: Option<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) -> Option<&str>
pub fn asset_id(&self) -> Option<&str>
The identifier of the asset for which the subscription grant is created.
sourcepub fn asset_revision(&self) -> Option<&str>
pub fn asset_revision(&self) -> Option<&str>
The revision of the asset for which the subscription grant is created.
sourcepub fn status(&self) -> Option<&SubscriptionGrantStatus>
pub fn status(&self) -> Option<&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
source§fn eq(&self, other: &SubscribedAsset) -> bool
fn eq(&self, other: &SubscribedAsset) -> bool
self
and other
values to be equal, and is used
by ==
.