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