Struct google_appsactivity1::api::Permission [−][src]
Contains information about the permissions and type of access allowed with regards to a Google Drive object. This is a subset of the fields contained in a corresponding Drive Permissions object.
This type is not used in any activity, and only used as part of another schema.
Fields
name: Option<String>
The name of the user or group the permission applies to.
permission_id: Option<String>
The ID for this permission. Corresponds to the Drive API’s permission ID returned as part of the Drive Permissions resource.
role: Option<String>
Indicates the Google Drive permissions role. The role determines a user’s ability to read, write, or comment on the file.
type_: Option<String>
Indicates how widely permissions are granted.
user: Option<User>
The user’s information if the type is USER.
with_link: Option<bool>
Whether the permission requires a link to the file.
Trait Implementations
impl Clone for Permission
[src]
fn clone(&self) -> Permission
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Permission
[src]
impl Default for Permission
[src]
fn default() -> Permission
[src]
impl<'de> Deserialize<'de> for Permission
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for Permission
[src]
impl Serialize for Permission
[src]
Auto Trait Implementations
impl RefUnwindSafe for Permission
impl Send for Permission
impl Sync for Permission
impl Unpin for Permission
impl UnwindSafe for Permission
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,