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