Struct aws_sdk_workmail::input::PutMailboxPermissionsInput [−][src]
#[non_exhaustive]pub struct PutMailboxPermissionsInput {
pub organization_id: Option<String>,
pub entity_id: Option<String>,
pub grantee_id: Option<String>,
pub permission_values: Option<Vec<PermissionType>>,
}
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.organization_id: Option<String>
The identifier of the organization under which the user, group, or resource exists.
entity_id: Option<String>
The identifier of the user, group, or resource for which to update mailbox permissions.
grantee_id: Option<String>
The identifier of the user, group, or resource to which to grant the permissions.
permission_values: Option<Vec<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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutMailboxPermissions, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutMailboxPermissions, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutMailboxPermissions
>
Creates a new builder-style object to manufacture PutMailboxPermissionsInput
The identifier of the organization under which the user, group, or resource exists.
The identifier of the user, group, or resource for which to update mailbox permissions.
The identifier of the user, group, or resource to which to grant the permissions.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PutMailboxPermissionsInput
impl Send for PutMailboxPermissionsInput
impl Sync for PutMailboxPermissionsInput
impl Unpin for PutMailboxPermissionsInput
impl UnwindSafe for PutMailboxPermissionsInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more