#[non_exhaustive]pub enum OperatingSystemType {
Unspecified,
Linux,
Windows,
UnknownValue(UnknownValue),
}Expand description
The operating system options for account entries.
§Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unspecified
The operating system type associated with the user account information is unspecified.
Linux
Linux user account information.
Windows
Windows user account information.
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using OperatingSystemType::value or OperatingSystemType::name.
Implementations§
Trait Implementations§
Source§impl Clone for OperatingSystemType
impl Clone for OperatingSystemType
Source§fn clone(&self) -> OperatingSystemType
fn clone(&self) -> OperatingSystemType
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 OperatingSystemType
impl Debug for OperatingSystemType
Source§impl Default for OperatingSystemType
impl Default for OperatingSystemType
Source§impl<'de> Deserialize<'de> for OperatingSystemType
impl<'de> Deserialize<'de> for OperatingSystemType
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 Display for OperatingSystemType
impl Display for OperatingSystemType
Source§impl From<&str> for OperatingSystemType
impl From<&str> for OperatingSystemType
Source§impl From<i32> for OperatingSystemType
impl From<i32> for OperatingSystemType
Source§impl PartialEq for OperatingSystemType
impl PartialEq for OperatingSystemType
Source§impl Serialize for OperatingSystemType
impl Serialize for OperatingSystemType
impl StructuralPartialEq for OperatingSystemType
Auto Trait Implementations§
impl Freeze for OperatingSystemType
impl RefUnwindSafe for OperatingSystemType
impl Send for OperatingSystemType
impl Sync for OperatingSystemType
impl Unpin for OperatingSystemType
impl UnwindSafe for OperatingSystemType
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