pub enum GoogleSiteVerificationAPIv1 {
AuthSiteverification,
AuthSiteverificationverify_Only,
}Expand description
Google Site Verification API, v1
Variants§
AuthSiteverification
Documentation: Manage the list of sites and domains you control, Scope: https://www.googleapis.com/auth/siteverification
AuthSiteverificationverify_Only
Documentation: Manage your new site verifications with Google, Scope: https://www.googleapis.com/auth/siteverification.verify_only
Trait Implementations§
Source§impl Clone for GoogleSiteVerificationAPIv1
impl Clone for GoogleSiteVerificationAPIv1
Source§fn clone(&self) -> GoogleSiteVerificationAPIv1
fn clone(&self) -> GoogleSiteVerificationAPIv1
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 GoogleSiteVerificationAPIv1
impl Debug for GoogleSiteVerificationAPIv1
Source§impl FromGoogleScope<GoogleSiteVerificationAPIv1> for GoogleSiteVerificationAPIv1
impl FromGoogleScope<GoogleSiteVerificationAPIv1> for GoogleSiteVerificationAPIv1
Source§fn from_google_scope(
google_scope: &str,
) -> Result<GoogleSiteVerificationAPIv1, ()>
fn from_google_scope( google_scope: &str, ) -> Result<GoogleSiteVerificationAPIv1, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for GoogleSiteVerificationAPIv1
impl Hash for GoogleSiteVerificationAPIv1
Source§impl ToGoogleScope for GoogleSiteVerificationAPIv1
impl ToGoogleScope for GoogleSiteVerificationAPIv1
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for GoogleSiteVerificationAPIv1
impl Eq for GoogleSiteVerificationAPIv1
impl StructuralPartialEq for GoogleSiteVerificationAPIv1
Auto Trait Implementations§
impl Freeze for GoogleSiteVerificationAPIv1
impl RefUnwindSafe for GoogleSiteVerificationAPIv1
impl Send for GoogleSiteVerificationAPIv1
impl Sync for GoogleSiteVerificationAPIv1
impl Unpin for GoogleSiteVerificationAPIv1
impl UnwindSafe for GoogleSiteVerificationAPIv1
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