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