[][src]Struct gcp_client::google::cloud::oslogin::common::PosixAccount

pub struct PosixAccount {
    pub primary: bool,
    pub username: String,
    pub uid: i64,
    pub gid: i64,
    pub home_directory: String,
    pub shell: String,
    pub gecos: String,
    pub system_id: String,
    pub account_id: String,
    pub operating_system_type: i32,
    pub name: String,
}

The POSIX account information associated with a Google account.

Fields

primary: bool

Only one POSIX account can be marked as primary.

username: String

The username of the POSIX account.

uid: i64

The user ID.

gid: i64

The default group ID.

home_directory: String

The path to the home directory for this account.

shell: String

The path to the logic shell for this account.

gecos: String

The GECOS (user information) entry for this account.

system_id: String

System identifier for which account the username or uid applies to. By default, the empty value is used.

account_id: String

Output only. A POSIX account identifier.

operating_system_type: i32

The operating system type where this account applies.

name: String

Output only. The canonical resource name.

Implementations

impl PosixAccount[src]

pub fn operating_system_type(&self) -> OperatingSystemType[src]

Returns the enum value of operating_system_type, or the default if the field is set to an invalid enum value.

pub fn set_operating_system_type(&mut self, value: OperatingSystemType)[src]

Sets operating_system_type to the provided enum value.

Trait Implementations

impl Clone for PosixAccount[src]

impl Debug for PosixAccount[src]

impl Default for PosixAccount[src]

impl Message for PosixAccount[src]

impl PartialEq<PosixAccount> for PosixAccount[src]

impl StructuralPartialEq for PosixAccount[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]