#[non_exhaustive]pub struct GetSubscriptionGrantOutput {
pub id: String,
pub created_by: String,
pub updated_by: Option<String>,
pub domain_id: String,
pub created_at: DateTime,
pub updated_at: DateTime,
pub subscription_target_id: String,
pub granted_entity: Option<GrantedEntity>,
pub status: SubscriptionGrantOverallStatus,
pub assets: Option<Vec<SubscribedAsset>>,
pub subscription_id: Option<String>,
/* private fields */
}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: StringThe ID of the subscription grant.
created_by: StringThe Amazon DataZone user who created the subscription grant.
updated_by: Option<String>The Amazon DataZone user who updated the subscription grant.
domain_id: StringThe ID of the Amazon DataZone domain in which the subscription grant exists.
created_at: DateTimeThe timestamp of when the subscription grant is created.
updated_at: DateTimeThe timestamp of when the subscription grant was upated.
subscription_target_id: StringThe subscription target ID associated with the subscription grant.
granted_entity: Option<GrantedEntity>The entity to which the subscription is granted.
status: SubscriptionGrantOverallStatusThe status of the subscription grant.
assets: Option<Vec<SubscribedAsset>>The assets for which the subscription grant is created.
subscription_id: Option<String>The identifier of the subscription.
Implementations§
source§impl GetSubscriptionGrantOutput
impl GetSubscriptionGrantOutput
sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
The Amazon DataZone user who created the subscription grant.
sourcepub fn updated_by(&self) -> Option<&str>
pub fn updated_by(&self) -> Option<&str>
The Amazon DataZone user who updated the subscription grant.
sourcepub fn domain_id(&self) -> &str
pub fn domain_id(&self) -> &str
The ID of the Amazon DataZone domain in which the subscription grant exists.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The timestamp of when the subscription grant is created.
sourcepub fn updated_at(&self) -> &DateTime
pub fn updated_at(&self) -> &DateTime
The timestamp of when the subscription grant was upated.
sourcepub fn subscription_target_id(&self) -> &str
pub fn subscription_target_id(&self) -> &str
The subscription target ID associated with the subscription grant.
sourcepub fn granted_entity(&self) -> Option<&GrantedEntity>
pub fn granted_entity(&self) -> Option<&GrantedEntity>
The entity to which the subscription is granted.
sourcepub fn status(&self) -> &SubscriptionGrantOverallStatus
pub fn status(&self) -> &SubscriptionGrantOverallStatus
The status of the subscription grant.
sourcepub fn assets(&self) -> &[SubscribedAsset]
pub fn assets(&self) -> &[SubscribedAsset]
The assets for which the subscription grant is created.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .assets.is_none().
sourcepub fn subscription_id(&self) -> Option<&str>
pub fn subscription_id(&self) -> Option<&str>
The identifier of the subscription.
source§impl GetSubscriptionGrantOutput
impl GetSubscriptionGrantOutput
sourcepub fn builder() -> GetSubscriptionGrantOutputBuilder
pub fn builder() -> GetSubscriptionGrantOutputBuilder
Creates a new builder-style object to manufacture GetSubscriptionGrantOutput.
Trait Implementations§
source§impl Clone for GetSubscriptionGrantOutput
impl Clone for GetSubscriptionGrantOutput
source§fn clone(&self) -> GetSubscriptionGrantOutput
fn clone(&self) -> GetSubscriptionGrantOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetSubscriptionGrantOutput
impl Debug for GetSubscriptionGrantOutput
source§impl PartialEq for GetSubscriptionGrantOutput
impl PartialEq for GetSubscriptionGrantOutput
source§fn eq(&self, other: &GetSubscriptionGrantOutput) -> bool
fn eq(&self, other: &GetSubscriptionGrantOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetSubscriptionGrantOutput
impl RequestId for GetSubscriptionGrantOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetSubscriptionGrantOutput
Auto Trait Implementations§
impl Freeze for GetSubscriptionGrantOutput
impl RefUnwindSafe for GetSubscriptionGrantOutput
impl Send for GetSubscriptionGrantOutput
impl Sync for GetSubscriptionGrantOutput
impl Unpin for GetSubscriptionGrantOutput
impl UnwindSafe for GetSubscriptionGrantOutput
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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