#[non_exhaustive]pub enum ComputeEngineNetworkTier {
Unspecified,
NetworkTierStandard,
NetworkTierPremium,
UnknownValue(UnknownValue),
}Expand description
Describes the networking tier used for configuring network access configuration.
§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
An unspecified network tier. Will be used as PREMIUM.
NetworkTierStandard
A standard network tier.
NetworkTierPremium
A premium network tier.
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using ComputeEngineNetworkTier::value or ComputeEngineNetworkTier::name.
Implementations§
Trait Implementations§
Source§impl Clone for ComputeEngineNetworkTier
impl Clone for ComputeEngineNetworkTier
Source§fn clone(&self) -> ComputeEngineNetworkTier
fn clone(&self) -> ComputeEngineNetworkTier
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 ComputeEngineNetworkTier
impl Debug for ComputeEngineNetworkTier
Source§impl Default for ComputeEngineNetworkTier
impl Default for ComputeEngineNetworkTier
Source§impl<'de> Deserialize<'de> for ComputeEngineNetworkTier
impl<'de> Deserialize<'de> for ComputeEngineNetworkTier
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 ComputeEngineNetworkTier
impl Display for ComputeEngineNetworkTier
Source§impl From<&str> for ComputeEngineNetworkTier
impl From<&str> for ComputeEngineNetworkTier
Source§impl From<i32> for ComputeEngineNetworkTier
impl From<i32> for ComputeEngineNetworkTier
Source§impl PartialEq for ComputeEngineNetworkTier
impl PartialEq for ComputeEngineNetworkTier
Source§fn eq(&self, other: &ComputeEngineNetworkTier) -> bool
fn eq(&self, other: &ComputeEngineNetworkTier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ComputeEngineNetworkTier
impl Serialize for ComputeEngineNetworkTier
impl StructuralPartialEq for ComputeEngineNetworkTier
Auto Trait Implementations§
impl Freeze for ComputeEngineNetworkTier
impl RefUnwindSafe for ComputeEngineNetworkTier
impl Send for ComputeEngineNetworkTier
impl Sync for ComputeEngineNetworkTier
impl Unpin for ComputeEngineNetworkTier
impl UnsafeUnpin for ComputeEngineNetworkTier
impl UnwindSafe for ComputeEngineNetworkTier
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