Struct aws_sdk_datazone::types::SubscriptionSummary
source · #[non_exhaustive]pub struct SubscriptionSummary {
pub id: String,
pub created_by: String,
pub updated_by: Option<String>,
pub domain_id: String,
pub status: SubscriptionStatus,
pub created_at: DateTime,
pub updated_at: DateTime,
pub subscribed_principal: Option<SubscribedPrincipal>,
pub subscribed_listing: Option<SubscribedListing>,
pub subscription_request_id: Option<String>,
pub retain_permissions: Option<bool>,
}
Expand description
The details of the subscription.
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.id: String
The identifier of the subscription.
created_by: String
The Amazon DataZone user who created the subscription.
updated_by: Option<String>
The Amazon DataZone user who updated the subscription.
domain_id: String
The identifier of the Amazon DataZone domain in which a subscription exists.
status: SubscriptionStatus
The status of the subscription.
created_at: DateTime
The timestamp of when the subscription was created.
updated_at: DateTime
The timestamp of when the subscription was updated.
subscribed_principal: Option<SubscribedPrincipal>
The principal included in the subscription.
subscribed_listing: Option<SubscribedListing>
The listing included in the subscription.
subscription_request_id: Option<String>
The identifier of the subscription request for the subscription.
retain_permissions: Option<bool>
The retain permissions included in the subscription.
Implementations§
source§impl SubscriptionSummary
impl SubscriptionSummary
sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
The Amazon DataZone user who created the subscription.
sourcepub fn updated_by(&self) -> Option<&str>
pub fn updated_by(&self) -> Option<&str>
The Amazon DataZone user who updated the subscription.
sourcepub fn domain_id(&self) -> &str
pub fn domain_id(&self) -> &str
The identifier of the Amazon DataZone domain in which a subscription exists.
sourcepub fn status(&self) -> &SubscriptionStatus
pub fn status(&self) -> &SubscriptionStatus
The status of the subscription.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The timestamp of when the subscription was created.
sourcepub fn updated_at(&self) -> &DateTime
pub fn updated_at(&self) -> &DateTime
The timestamp of when the subscription was updated.
sourcepub fn subscribed_principal(&self) -> Option<&SubscribedPrincipal>
pub fn subscribed_principal(&self) -> Option<&SubscribedPrincipal>
The principal included in the subscription.
sourcepub fn subscribed_listing(&self) -> Option<&SubscribedListing>
pub fn subscribed_listing(&self) -> Option<&SubscribedListing>
The listing included in the subscription.
sourcepub fn subscription_request_id(&self) -> Option<&str>
pub fn subscription_request_id(&self) -> Option<&str>
The identifier of the subscription request for the subscription.
sourcepub fn retain_permissions(&self) -> Option<bool>
pub fn retain_permissions(&self) -> Option<bool>
The retain permissions included in the subscription.
source§impl SubscriptionSummary
impl SubscriptionSummary
sourcepub fn builder() -> SubscriptionSummaryBuilder
pub fn builder() -> SubscriptionSummaryBuilder
Creates a new builder-style object to manufacture SubscriptionSummary
.
Trait Implementations§
source§impl Clone for SubscriptionSummary
impl Clone for SubscriptionSummary
source§fn clone(&self) -> SubscriptionSummary
fn clone(&self) -> SubscriptionSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SubscriptionSummary
impl Debug for SubscriptionSummary
source§impl PartialEq for SubscriptionSummary
impl PartialEq for SubscriptionSummary
impl StructuralPartialEq for SubscriptionSummary
Auto Trait Implementations§
impl Freeze for SubscriptionSummary
impl RefUnwindSafe for SubscriptionSummary
impl Send for SubscriptionSummary
impl Sync for SubscriptionSummary
impl Unpin for SubscriptionSummary
impl UnwindSafe for SubscriptionSummary
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