Struct aws_sdk_workmail::types::Permission
source · #[non_exhaustive]pub struct Permission { /* private fields */ }
Expand description
Permission granted to a user, group, or resource to access a certain aspect of another user, group, or resource mailbox.
Implementations§
source§impl Permission
impl Permission
sourcepub fn grantee_id(&self) -> Option<&str>
pub fn grantee_id(&self) -> Option<&str>
The identifier of the user, group, or resource to which the permissions are granted.
sourcepub fn grantee_type(&self) -> Option<&MemberType>
pub fn grantee_type(&self) -> Option<&MemberType>
The type of user, group, or resource referred to in GranteeId.
sourcepub fn permission_values(&self) -> Option<&[PermissionType]>
pub fn permission_values(&self) -> Option<&[PermissionType]>
The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.
source§impl Permission
impl Permission
sourcepub fn builder() -> PermissionBuilder
pub fn builder() -> PermissionBuilder
Creates a new builder-style object to manufacture Permission
.
Trait Implementations§
source§impl Clone for Permission
impl Clone for Permission
source§fn clone(&self) -> Permission
fn clone(&self) -> Permission
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Permission
impl Debug for Permission
source§impl PartialEq<Permission> for Permission
impl PartialEq<Permission> for Permission
source§fn eq(&self, other: &Permission) -> bool
fn eq(&self, other: &Permission) -> bool
self
and other
values to be equal, and is used
by ==
.