Struct google_vault1::api::AddMatterPermissionsRequest
source · pub struct AddMatterPermissionsRequest {
pub cc_me: Option<bool>,
pub matter_permission: Option<MatterPermission>,
pub send_emails: Option<bool>,
}
Expand description
Add an account with the permission specified. The role cannot be owner. If an account already has a role in the matter, the existing role is overwritten.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- add permissions matters (request)
Fields§
§cc_me: Option<bool>
Only relevant if sendEmails is true. To CC the requestor in the email message, set to true. To not CC requestor, set to false.
matter_permission: Option<MatterPermission>
The account and its role to add.
send_emails: Option<bool>
To send a notification email to the added account, set to true. To not send a notification email, set to false.
Trait Implementations§
source§impl Clone for AddMatterPermissionsRequest
impl Clone for AddMatterPermissionsRequest
source§fn clone(&self) -> AddMatterPermissionsRequest
fn clone(&self) -> AddMatterPermissionsRequest
Returns a copy 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 AddMatterPermissionsRequest
impl Debug for AddMatterPermissionsRequest
source§impl Default for AddMatterPermissionsRequest
impl Default for AddMatterPermissionsRequest
source§fn default() -> AddMatterPermissionsRequest
fn default() -> AddMatterPermissionsRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AddMatterPermissionsRequest
impl<'de> Deserialize<'de> for AddMatterPermissionsRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for AddMatterPermissionsRequest
Auto Trait Implementations§
impl RefUnwindSafe for AddMatterPermissionsRequest
impl Send for AddMatterPermissionsRequest
impl Sync for AddMatterPermissionsRequest
impl Unpin for AddMatterPermissionsRequest
impl UnwindSafe for AddMatterPermissionsRequest
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