pub struct UpdateAclSettingsRequest {
pub allow_copying: Option<bool>,
pub allow_editors_to_change_permissions: Option<bool>,
pub allow_viewers_to_request_editing: Option<bool>,
}
Expand description
Request to update ACL settings for a doc.
JSON schema
{
"description": "Request to update ACL settings for a doc.",
"type": "object",
"properties": {
"allowCopying": {
"description": "When true, allows doc viewers to copy the doc.",
"type": "boolean"
},
"allowEditorsToChangePermissions": {
"description": "When true, allows editors to change doc permissions. When false, only doc owner can change doc permissions.\n",
"type": "boolean"
},
"allowViewersToRequestEditing": {
"description": "When true, allows doc viewers to request editing
permissions.",
"type": "boolean"
}
},
"additionalProperties": false,
"x-schema-name": "UpdateAclSettingsRequest"
}
Fields§
§allow_copying: Option<bool>
When true, allows doc viewers to copy the doc.
allow_editors_to_change_permissions: Option<bool>
When true, allows editors to change doc permissions. When false, only doc owner can change doc permissions.
allow_viewers_to_request_editing: Option<bool>
When true, allows doc viewers to request editing permissions.
Trait Implementations§
Source§impl Clone for UpdateAclSettingsRequest
impl Clone for UpdateAclSettingsRequest
Source§fn clone(&self) -> UpdateAclSettingsRequest
fn clone(&self) -> UpdateAclSettingsRequest
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 UpdateAclSettingsRequest
impl Debug for UpdateAclSettingsRequest
Source§impl Default for UpdateAclSettingsRequest
impl Default for UpdateAclSettingsRequest
Source§impl<'de> Deserialize<'de> for UpdateAclSettingsRequest
impl<'de> Deserialize<'de> for UpdateAclSettingsRequest
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
Source§impl From<&UpdateAclSettingsRequest> for UpdateAclSettingsRequest
impl From<&UpdateAclSettingsRequest> for UpdateAclSettingsRequest
Source§fn from(value: &UpdateAclSettingsRequest) -> Self
fn from(value: &UpdateAclSettingsRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdateAclSettingsRequest
impl RefUnwindSafe for UpdateAclSettingsRequest
impl Send for UpdateAclSettingsRequest
impl Sync for UpdateAclSettingsRequest
impl Unpin for UpdateAclSettingsRequest
impl UnwindSafe for UpdateAclSettingsRequest
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