pub enum DriveLabelsAPIv2 {
AuthDriveAdminLabels,
AuthDriveAdminLabelsReadOnly,
AuthDriveLabels,
AuthDriveLabelsReadOnly,
}Expand description
Drive Labels API, v2
Variants§
AuthDriveAdminLabels
Documentation: See, edit, create, and delete all Google Drive labels in your organization, and see your organization’s label-related admin policies, Scope: https://www.googleapis.com/auth/drive.admin.labels
AuthDriveAdminLabelsReadOnly
Documentation: See all Google Drive labels and label-related admin policies in your organization, Scope: https://www.googleapis.com/auth/drive.admin.labels.readonly
AuthDriveLabels
Documentation: See, edit, create, and delete your Google Drive labels, Scope: https://www.googleapis.com/auth/drive.labels
AuthDriveLabelsReadOnly
Documentation: See your Google Drive labels, Scope: https://www.googleapis.com/auth/drive.labels.readonly
Trait Implementations§
Source§impl Clone for DriveLabelsAPIv2
impl Clone for DriveLabelsAPIv2
Source§fn clone(&self) -> DriveLabelsAPIv2
fn clone(&self) -> DriveLabelsAPIv2
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 DriveLabelsAPIv2
impl Debug for DriveLabelsAPIv2
Source§impl FromGoogleScope<DriveLabelsAPIv2> for DriveLabelsAPIv2
impl FromGoogleScope<DriveLabelsAPIv2> for DriveLabelsAPIv2
Source§fn from_google_scope(google_scope: &str) -> Result<DriveLabelsAPIv2, ()>
fn from_google_scope(google_scope: &str) -> Result<DriveLabelsAPIv2, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for DriveLabelsAPIv2
impl Hash for DriveLabelsAPIv2
Source§impl PartialEq for DriveLabelsAPIv2
impl PartialEq for DriveLabelsAPIv2
Source§impl ToGoogleScope for DriveLabelsAPIv2
impl ToGoogleScope for DriveLabelsAPIv2
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for DriveLabelsAPIv2
impl Eq for DriveLabelsAPIv2
impl StructuralPartialEq for DriveLabelsAPIv2
Auto Trait Implementations§
impl Freeze for DriveLabelsAPIv2
impl RefUnwindSafe for DriveLabelsAPIv2
impl Send for DriveLabelsAPIv2
impl Sync for DriveLabelsAPIv2
impl Unpin for DriveLabelsAPIv2
impl UnwindSafe for DriveLabelsAPIv2
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