pub enum CloudNaturalLanguageAPIv1 {
AuthCloudLanguage,
AuthCloudPlatform,
}Expand description
Cloud Natural Language API, v1
Variants§
AuthCloudLanguage
Documentation: Apply machine learning models to reveal the structure and meaning of text, Scope: https://www.googleapis.com/auth/cloud-language
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
Trait Implementations§
Source§impl Clone for CloudNaturalLanguageAPIv1
impl Clone for CloudNaturalLanguageAPIv1
Source§fn clone(&self) -> CloudNaturalLanguageAPIv1
fn clone(&self) -> CloudNaturalLanguageAPIv1
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 CloudNaturalLanguageAPIv1
impl Debug for CloudNaturalLanguageAPIv1
Source§impl FromGoogleScope<CloudNaturalLanguageAPIv1> for CloudNaturalLanguageAPIv1
impl FromGoogleScope<CloudNaturalLanguageAPIv1> for CloudNaturalLanguageAPIv1
Source§fn from_google_scope(
google_scope: &str,
) -> Result<CloudNaturalLanguageAPIv1, ()>
fn from_google_scope( google_scope: &str, ) -> Result<CloudNaturalLanguageAPIv1, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for CloudNaturalLanguageAPIv1
impl Hash for CloudNaturalLanguageAPIv1
Source§impl ToGoogleScope for CloudNaturalLanguageAPIv1
impl ToGoogleScope for CloudNaturalLanguageAPIv1
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for CloudNaturalLanguageAPIv1
impl Eq for CloudNaturalLanguageAPIv1
impl StructuralPartialEq for CloudNaturalLanguageAPIv1
Auto Trait Implementations§
impl Freeze for CloudNaturalLanguageAPIv1
impl RefUnwindSafe for CloudNaturalLanguageAPIv1
impl Send for CloudNaturalLanguageAPIv1
impl Sync for CloudNaturalLanguageAPIv1
impl Unpin for CloudNaturalLanguageAPIv1
impl UnwindSafe for CloudNaturalLanguageAPIv1
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