Struct googapis::google::cloud::oslogin::common::PosixAccount [−][src]
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,
}
Expand description
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
Returns the enum value of operating_system_type
, or the default if the field is set to an invalid enum value.
Sets operating_system_type
to the provided enum value.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PosixAccount
impl Send for PosixAccount
impl Sync for PosixAccount
impl Unpin for PosixAccount
impl UnwindSafe for PosixAccount
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more