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