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