Struct google_keep1::api::BatchDeletePermissionsRequest
source · pub struct BatchDeletePermissionsRequest {
pub names: Option<Vec<String>>,
}Expand description
The request to remove one or more permissions from a note. A permission with the OWNER role can’t be removed. If removing a permission fails, then the entire request fails and no changes are made. Returns a 400 bad request error if a specified permission does not exist on the note.
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).
- permissions batch delete notes (request)
Fields§
§names: Option<Vec<String>>Required. The names of the permissions to delete. Format: notes/{note}/permissions/{permission}
Trait Implementations§
source§impl Clone for BatchDeletePermissionsRequest
impl Clone for BatchDeletePermissionsRequest
source§fn clone(&self) -> BatchDeletePermissionsRequest
fn clone(&self) -> BatchDeletePermissionsRequest
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 Default for BatchDeletePermissionsRequest
impl Default for BatchDeletePermissionsRequest
source§fn default() -> BatchDeletePermissionsRequest
fn default() -> BatchDeletePermissionsRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BatchDeletePermissionsRequest
impl<'de> Deserialize<'de> for BatchDeletePermissionsRequest
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