pub struct ServiceAccount {
pub email: Option<String>,
pub scopes: Option<Vec<String>>,
}Expand description
A Compute Engine service account, identical to the Compute Engine resource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§email: Option<String>Service account email address.
scopes: Option<Vec<String>>List of OAuth2 scopes to obtain for the service account.
Trait Implementations§
Source§impl Clone for ServiceAccount
impl Clone for ServiceAccount
Source§fn clone(&self) -> ServiceAccount
fn clone(&self) -> ServiceAccount
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 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 Freeze for ServiceAccount
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