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