pub struct PermissionList {
pub etag: Option<String>,
pub items: Option<Vec<Permission>>,
pub kind: Option<String>,
pub next_page_token: Option<String>,
pub self_link: Option<String>,
}Expand description
A list of permissions associated with a file.
§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).
- list permissions (response)
Fields§
§etag: Option<String>The ETag of the list.
items: Option<Vec<Permission>>The list of permissions.
kind: Option<String>This is always drive#permissionList.
next_page_token: Option<String>The page token for the next page of permissions. This field will be absent if the end of the permissions list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.
self_link: Option<String>A link back to this list.
Trait Implementations§
Source§impl Clone for PermissionList
impl Clone for PermissionList
Source§fn clone(&self) -> PermissionList
fn clone(&self) -> PermissionList
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 PermissionList
impl Debug for PermissionList
Source§impl Default for PermissionList
impl Default for PermissionList
Source§fn default() -> PermissionList
fn default() -> PermissionList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PermissionList
impl<'de> Deserialize<'de> for PermissionList
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 Serialize for PermissionList
impl Serialize for PermissionList
impl ResponseResult for PermissionList
Auto Trait Implementations§
impl Freeze for PermissionList
impl RefUnwindSafe for PermissionList
impl Send for PermissionList
impl Sync for PermissionList
impl Unpin for PermissionList
impl UnwindSafe for PermissionList
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