pub enum GoogleVaultAPIv1 {
AuthEdiscovery,
AuthEdiscoveryReadOnly,
}Expand description
Google Vault API, v1
Variants§
AuthEdiscovery
Documentation: Manage your eDiscovery data, Scope: https://www.googleapis.com/auth/ediscovery
AuthEdiscoveryReadOnly
Documentation: View your eDiscovery data, Scope: https://www.googleapis.com/auth/ediscovery.readonly
Trait Implementations§
Source§impl Clone for GoogleVaultAPIv1
impl Clone for GoogleVaultAPIv1
Source§fn clone(&self) -> GoogleVaultAPIv1
fn clone(&self) -> GoogleVaultAPIv1
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 GoogleVaultAPIv1
impl Debug for GoogleVaultAPIv1
Source§impl FromGoogleScope<GoogleVaultAPIv1> for GoogleVaultAPIv1
impl FromGoogleScope<GoogleVaultAPIv1> for GoogleVaultAPIv1
Source§fn from_google_scope(google_scope: &str) -> Result<GoogleVaultAPIv1, ()>
fn from_google_scope(google_scope: &str) -> Result<GoogleVaultAPIv1, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for GoogleVaultAPIv1
impl Hash for GoogleVaultAPIv1
Source§impl PartialEq for GoogleVaultAPIv1
impl PartialEq for GoogleVaultAPIv1
Source§impl ToGoogleScope for GoogleVaultAPIv1
impl ToGoogleScope for GoogleVaultAPIv1
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for GoogleVaultAPIv1
impl Eq for GoogleVaultAPIv1
impl StructuralPartialEq for GoogleVaultAPIv1
Auto Trait Implementations§
impl Freeze for GoogleVaultAPIv1
impl RefUnwindSafe for GoogleVaultAPIv1
impl Send for GoogleVaultAPIv1
impl Sync for GoogleVaultAPIv1
impl Unpin for GoogleVaultAPIv1
impl UnwindSafe for GoogleVaultAPIv1
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