Struct aws_sdk_licensemanager::types::Grant
source · #[non_exhaustive]pub struct Grant {
pub grant_arn: Option<String>,
pub grant_name: Option<String>,
pub parent_arn: Option<String>,
pub license_arn: Option<String>,
pub grantee_principal_arn: Option<String>,
pub home_region: Option<String>,
pub grant_status: Option<GrantStatus>,
pub status_reason: Option<String>,
pub version: Option<String>,
pub granted_operations: Option<Vec<AllowedOperation>>,
pub options: Option<Options>,
}Expand description
Describes a grant.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.grant_arn: Option<String>Amazon Resource Name (ARN) of the grant.
grant_name: Option<String>Grant name.
parent_arn: Option<String>Parent ARN.
license_arn: Option<String>License ARN.
grantee_principal_arn: Option<String>The grantee principal ARN.
home_region: Option<String>Home Region of the grant.
grant_status: Option<GrantStatus>Grant status.
status_reason: Option<String>Grant status reason.
version: Option<String>Grant version.
granted_operations: Option<Vec<AllowedOperation>>Granted operations.
options: Option<Options>The options specified for the grant.
Implementations§
source§impl Grant
impl Grant
sourcepub fn grant_name(&self) -> Option<&str>
pub fn grant_name(&self) -> Option<&str>
Grant name.
sourcepub fn parent_arn(&self) -> Option<&str>
pub fn parent_arn(&self) -> Option<&str>
Parent ARN.
sourcepub fn license_arn(&self) -> Option<&str>
pub fn license_arn(&self) -> Option<&str>
License ARN.
sourcepub fn grantee_principal_arn(&self) -> Option<&str>
pub fn grantee_principal_arn(&self) -> Option<&str>
The grantee principal ARN.
sourcepub fn home_region(&self) -> Option<&str>
pub fn home_region(&self) -> Option<&str>
Home Region of the grant.
sourcepub fn grant_status(&self) -> Option<&GrantStatus>
pub fn grant_status(&self) -> Option<&GrantStatus>
Grant status.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
Grant status reason.
sourcepub fn granted_operations(&self) -> Option<&[AllowedOperation]>
pub fn granted_operations(&self) -> Option<&[AllowedOperation]>
Granted operations.
Trait Implementations§
source§impl PartialEq<Grant> for Grant
impl PartialEq<Grant> for Grant
impl StructuralPartialEq for Grant
Auto Trait Implementations§
impl RefUnwindSafe for Grant
impl Send for Grant
impl Sync for Grant
impl Unpin for Grant
impl UnwindSafe for Grant
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
Mutably borrows from an owned value. Read more