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: StringThe identifier of the asset for which the subscription grant is created.
asset_revision: StringThe revision of the asset for which the subscription grant is created.
status: SubscriptionGrantStatusThe 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
source§fn eq(&self, other: &SubscribedAsset) -> bool
fn eq(&self, other: &SubscribedAsset) -> bool
self and other values to be equal, and is used
by ==.