pub enum AIPlatformTrainingPredictionAPIv1 {
AuthCloudPlatform,
AuthCloudPlatformReadOnly,
}Expand description
AI Platform Training & Prediction 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
AuthCloudPlatformReadOnly
Documentation: View your data across Google Cloud services and see the email address of your Google Account, Scope: https://www.googleapis.com/auth/cloud-platform.read-only
Trait Implementations§
Source§impl Clone for AIPlatformTrainingPredictionAPIv1
impl Clone for AIPlatformTrainingPredictionAPIv1
Source§fn clone(&self) -> AIPlatformTrainingPredictionAPIv1
fn clone(&self) -> AIPlatformTrainingPredictionAPIv1
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 FromGoogleScope<AIPlatformTrainingPredictionAPIv1> for AIPlatformTrainingPredictionAPIv1
impl FromGoogleScope<AIPlatformTrainingPredictionAPIv1> for AIPlatformTrainingPredictionAPIv1
Source§fn from_google_scope(
google_scope: &str,
) -> Result<AIPlatformTrainingPredictionAPIv1, ()>
fn from_google_scope( google_scope: &str, ) -> Result<AIPlatformTrainingPredictionAPIv1, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl PartialEq for AIPlatformTrainingPredictionAPIv1
impl PartialEq for AIPlatformTrainingPredictionAPIv1
Source§fn eq(&self, other: &AIPlatformTrainingPredictionAPIv1) -> bool
fn eq(&self, other: &AIPlatformTrainingPredictionAPIv1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ToGoogleScope for AIPlatformTrainingPredictionAPIv1
impl ToGoogleScope for AIPlatformTrainingPredictionAPIv1
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for AIPlatformTrainingPredictionAPIv1
impl Eq for AIPlatformTrainingPredictionAPIv1
impl StructuralPartialEq for AIPlatformTrainingPredictionAPIv1
Auto Trait Implementations§
impl Freeze for AIPlatformTrainingPredictionAPIv1
impl RefUnwindSafe for AIPlatformTrainingPredictionAPIv1
impl Send for AIPlatformTrainingPredictionAPIv1
impl Sync for AIPlatformTrainingPredictionAPIv1
impl Unpin for AIPlatformTrainingPredictionAPIv1
impl UnwindSafe for AIPlatformTrainingPredictionAPIv1
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