pub enum DriveActivityAPIv2 {
AuthDriveActivity,
AuthDriveActivityReadOnly,
}Expand description
Drive Activity API, v2
Variants§
AuthDriveActivity
Documentation: View and add to the activity record of files in your Google Drive, Scope: https://www.googleapis.com/auth/drive.activity
AuthDriveActivityReadOnly
Documentation: View the activity record of files in your Google Drive, Scope: https://www.googleapis.com/auth/drive.activity.readonly
Trait Implementations§
Source§impl Clone for DriveActivityAPIv2
impl Clone for DriveActivityAPIv2
Source§fn clone(&self) -> DriveActivityAPIv2
fn clone(&self) -> DriveActivityAPIv2
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 DriveActivityAPIv2
impl Debug for DriveActivityAPIv2
Source§impl FromGoogleScope<DriveActivityAPIv2> for DriveActivityAPIv2
impl FromGoogleScope<DriveActivityAPIv2> for DriveActivityAPIv2
Source§fn from_google_scope(google_scope: &str) -> Result<DriveActivityAPIv2, ()>
fn from_google_scope(google_scope: &str) -> Result<DriveActivityAPIv2, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for DriveActivityAPIv2
impl Hash for DriveActivityAPIv2
Source§impl PartialEq for DriveActivityAPIv2
impl PartialEq for DriveActivityAPIv2
Source§impl ToGoogleScope for DriveActivityAPIv2
impl ToGoogleScope for DriveActivityAPIv2
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for DriveActivityAPIv2
impl Eq for DriveActivityAPIv2
impl StructuralPartialEq for DriveActivityAPIv2
Auto Trait Implementations§
impl Freeze for DriveActivityAPIv2
impl RefUnwindSafe for DriveActivityAPIv2
impl Send for DriveActivityAPIv2
impl Sync for DriveActivityAPIv2
impl Unpin for DriveActivityAPIv2
impl UnwindSafe for DriveActivityAPIv2
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