pub enum CloudSourceRepositoriesAPIv1 {
AuthCloudPlatform,
AuthSourceFull_control,
AuthSourceRead_Only,
AuthSourceRead_write,
}Expand description
Cloud Source Repositories 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
AuthSourceFull_control
Documentation: Manage your source code repositories, Scope: https://www.googleapis.com/auth/source.full_control
AuthSourceRead_Only
Documentation: View the contents of your source code repositories, Scope: https://www.googleapis.com/auth/source.read_only
AuthSourceRead_write
Documentation: Manage the contents of your source code repositories, Scope: https://www.googleapis.com/auth/source.read_write
Trait Implementations§
Source§impl Clone for CloudSourceRepositoriesAPIv1
impl Clone for CloudSourceRepositoriesAPIv1
Source§fn clone(&self) -> CloudSourceRepositoriesAPIv1
fn clone(&self) -> CloudSourceRepositoriesAPIv1
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 CloudSourceRepositoriesAPIv1
impl Debug for CloudSourceRepositoriesAPIv1
Source§impl FromGoogleScope<CloudSourceRepositoriesAPIv1> for CloudSourceRepositoriesAPIv1
impl FromGoogleScope<CloudSourceRepositoriesAPIv1> for CloudSourceRepositoriesAPIv1
Source§fn from_google_scope(
google_scope: &str,
) -> Result<CloudSourceRepositoriesAPIv1, ()>
fn from_google_scope( google_scope: &str, ) -> Result<CloudSourceRepositoriesAPIv1, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for CloudSourceRepositoriesAPIv1
impl Hash for CloudSourceRepositoriesAPIv1
Source§impl PartialEq for CloudSourceRepositoriesAPIv1
impl PartialEq for CloudSourceRepositoriesAPIv1
Source§fn eq(&self, other: &CloudSourceRepositoriesAPIv1) -> bool
fn eq(&self, other: &CloudSourceRepositoriesAPIv1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ToGoogleScope for CloudSourceRepositoriesAPIv1
impl ToGoogleScope for CloudSourceRepositoriesAPIv1
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for CloudSourceRepositoriesAPIv1
impl Eq for CloudSourceRepositoriesAPIv1
impl StructuralPartialEq for CloudSourceRepositoriesAPIv1
Auto Trait Implementations§
impl Freeze for CloudSourceRepositoriesAPIv1
impl RefUnwindSafe for CloudSourceRepositoriesAPIv1
impl Send for CloudSourceRepositoriesAPIv1
impl Sync for CloudSourceRepositoriesAPIv1
impl Unpin for CloudSourceRepositoriesAPIv1
impl UnwindSafe for CloudSourceRepositoriesAPIv1
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