pub struct PermissionList {
pub next_page_token: Option<String>,
pub kind: Option<String>,
pub permissions: Option<Vec<Permission>>,
}Expand description
A list of permissions for a file.
Fields§
§next_page_token: Option<String>The page token for the next page of permissions.
This will be absent if the end of the 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. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ.
kind: Option<String>Identifies what kind of resource this is.
This is always drive#permissionList.
permissions: Option<Vec<Permission>>The list of shared drives.
If next_page_token is populated,
then this list may be incomplete and an additional page of results
should be fetched.
Implementations§
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 Display for PermissionList
impl Display for PermissionList
Source§impl PartialEq for PermissionList
impl PartialEq for PermissionList
Source§impl Serialize for PermissionList
impl Serialize for PermissionList
impl Eq for PermissionList
impl StructuralPartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.