Struct google_compute1::api::ServiceAccount
source · pub struct ServiceAccount {
pub email: Option<String>,
pub scopes: Option<Vec<String>>,
}
Expand description
A service account.
This type is not used in any activity, and only used as part of another schema.
Fields§
§email: Option<String>
Email address of the service account.
scopes: Option<Vec<String>>
The list of scopes to be made available for this service account.
Trait Implementations§
source§impl Clone for ServiceAccount
impl Clone for ServiceAccount
source§fn clone(&self) -> ServiceAccount
fn clone(&self) -> ServiceAccount
Returns a copy 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 ServiceAccount
impl Debug for ServiceAccount
source§impl Default for ServiceAccount
impl Default for ServiceAccount
source§fn default() -> ServiceAccount
fn default() -> ServiceAccount
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServiceAccount
impl<'de> Deserialize<'de> for ServiceAccount
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ServiceAccount
impl Serialize for ServiceAccount
impl Part for ServiceAccount
Auto Trait Implementations§
impl RefUnwindSafe for ServiceAccount
impl Send for ServiceAccount
impl Sync for ServiceAccount
impl Unpin for ServiceAccount
impl UnwindSafe for ServiceAccount
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