pub enum FirebaseCloudMessagingAPIv1 {
AuthCloudPlatform,
AuthFirebaseMessaging,
}Expand description
Firebase Cloud Messaging API, v1
Variants§
AuthCloudPlatform
Documentation: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account., Scope: https://www.googleapis.com/auth/cloud-platform
AuthFirebaseMessaging
Documentation: Send messages and manage messaging subscriptions for your Firebase applications, Scope: https://www.googleapis.com/auth/firebase.messaging
Trait Implementations§
Source§impl Clone for FirebaseCloudMessagingAPIv1
impl Clone for FirebaseCloudMessagingAPIv1
Source§fn clone(&self) -> FirebaseCloudMessagingAPIv1
fn clone(&self) -> FirebaseCloudMessagingAPIv1
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 FirebaseCloudMessagingAPIv1
impl Debug for FirebaseCloudMessagingAPIv1
Source§impl FromGoogleScope<FirebaseCloudMessagingAPIv1> for FirebaseCloudMessagingAPIv1
impl FromGoogleScope<FirebaseCloudMessagingAPIv1> for FirebaseCloudMessagingAPIv1
Source§fn from_google_scope(
google_scope: &str,
) -> Result<FirebaseCloudMessagingAPIv1, ()>
fn from_google_scope( google_scope: &str, ) -> Result<FirebaseCloudMessagingAPIv1, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for FirebaseCloudMessagingAPIv1
impl Hash for FirebaseCloudMessagingAPIv1
Source§impl ToGoogleScope for FirebaseCloudMessagingAPIv1
impl ToGoogleScope for FirebaseCloudMessagingAPIv1
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for FirebaseCloudMessagingAPIv1
impl Eq for FirebaseCloudMessagingAPIv1
impl StructuralPartialEq for FirebaseCloudMessagingAPIv1
Auto Trait Implementations§
impl Freeze for FirebaseCloudMessagingAPIv1
impl RefUnwindSafe for FirebaseCloudMessagingAPIv1
impl Send for FirebaseCloudMessagingAPIv1
impl Sync for FirebaseCloudMessagingAPIv1
impl Unpin for FirebaseCloudMessagingAPIv1
impl UnwindSafe for FirebaseCloudMessagingAPIv1
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