pub struct PutMailboxPermissionsRequest {
pub entity_id: String,
pub grantee_id: String,
pub organization_id: String,
pub permission_values: Vec<String>,
}
Fields§
§entity_id: String
The identifier of the user, group, or resource for which to update mailbox permissions.
grantee_id: String
The identifier of the user, group, or resource to which to grant the permissions.
organization_id: String
The identifier of the organization under which the user, group, or resource exists.
permission_values: Vec<String>
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§
Source§impl Clone for PutMailboxPermissionsRequest
impl Clone for PutMailboxPermissionsRequest
Source§fn clone(&self) -> PutMailboxPermissionsRequest
fn clone(&self) -> PutMailboxPermissionsRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PutMailboxPermissionsRequest
impl Debug for PutMailboxPermissionsRequest
Source§impl Default for PutMailboxPermissionsRequest
impl Default for PutMailboxPermissionsRequest
Source§fn default() -> PutMailboxPermissionsRequest
fn default() -> PutMailboxPermissionsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for PutMailboxPermissionsRequest
impl PartialEq for PutMailboxPermissionsRequest
Source§fn eq(&self, other: &PutMailboxPermissionsRequest) -> bool
fn eq(&self, other: &PutMailboxPermissionsRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PutMailboxPermissionsRequest
Auto Trait Implementations§
impl Freeze for PutMailboxPermissionsRequest
impl RefUnwindSafe for PutMailboxPermissionsRequest
impl Send for PutMailboxPermissionsRequest
impl Sync for PutMailboxPermissionsRequest
impl Unpin for PutMailboxPermissionsRequest
impl UnwindSafe for PutMailboxPermissionsRequest
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