pub struct LoginProfile {
pub name: Option<String>,
pub posix_accounts: Option<Vec<PosixAccount>>,
pub security_keys: Option<Vec<SecurityKey>>,
pub ssh_public_keys: Option<HashMap<String, SshPublicKey>>,
}Expand description
The user profile information used for logging in to a virtual machine on Google Compute Engine.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- get login profile users (response)
Fields§
§name: Option<String>Required. A unique user ID.
posix_accounts: Option<Vec<PosixAccount>>The list of POSIX accounts associated with the user.
security_keys: Option<Vec<SecurityKey>>The registered security key credentials for a user.
ssh_public_keys: Option<HashMap<String, SshPublicKey>>A map from SSH public key fingerprint to the associated key object.
Trait Implementations§
Source§impl Clone for LoginProfile
impl Clone for LoginProfile
Source§fn clone(&self) -> LoginProfile
fn clone(&self) -> LoginProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LoginProfile
impl Debug for LoginProfile
Source§impl Default for LoginProfile
impl Default for LoginProfile
Source§fn default() -> LoginProfile
fn default() -> LoginProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoginProfile
impl<'de> Deserialize<'de> for LoginProfile
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
impl ResponseResult for LoginProfile
Auto Trait Implementations§
impl Freeze for LoginProfile
impl RefUnwindSafe for LoginProfile
impl Send for LoginProfile
impl Sync for LoginProfile
impl Unpin for LoginProfile
impl UnsafeUnpin for LoginProfile
impl UnwindSafe for LoginProfile
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