Enum google_api_proto::google::cloud::compute::v1::interconnect_remote_location_constraints::PortPairVlan
source · #[repr(i32)]pub enum PortPairVlan {
UndefinedPortPairVlan = 0,
PortPairMatchingVlan = 250_295_358,
PortPairUnconstrainedVlan = 175_227_948,
}
Expand description
[Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN
Variants§
UndefinedPortPairVlan = 0
A value indicating that the enum field is not set.
PortPairMatchingVlan = 250_295_358
If PORT_PAIR_MATCHING_VLAN, the Interconnect for this attachment is part of a pair of ports that should have matching VLAN allocations. This occurs with Cross-Cloud Interconnect to Azure remote locations. While GCP’s API does not explicitly group pairs of ports, the UI uses this field to ensure matching VLAN ids when configuring a redundant VLAN pair.
PortPairUnconstrainedVlan = 175_227_948
PORT_PAIR_UNCONSTRAINED_VLAN means there is no constraint.
Implementations§
source§impl PortPairVlan
impl PortPairVlan
source§impl PortPairVlan
impl PortPairVlan
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for PortPairVlan
impl Clone for PortPairVlan
source§fn clone(&self) -> PortPairVlan
fn clone(&self) -> PortPairVlan
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PortPairVlan
impl Debug for PortPairVlan
source§impl Default for PortPairVlan
impl Default for PortPairVlan
source§fn default() -> PortPairVlan
fn default() -> PortPairVlan
source§impl From<PortPairVlan> for i32
impl From<PortPairVlan> for i32
source§fn from(value: PortPairVlan) -> i32
fn from(value: PortPairVlan) -> i32
source§impl Hash for PortPairVlan
impl Hash for PortPairVlan
source§impl Ord for PortPairVlan
impl Ord for PortPairVlan
source§fn cmp(&self, other: &PortPairVlan) -> Ordering
fn cmp(&self, other: &PortPairVlan) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for PortPairVlan
impl PartialEq for PortPairVlan
source§fn eq(&self, other: &PortPairVlan) -> bool
fn eq(&self, other: &PortPairVlan) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PortPairVlan
impl PartialOrd for PortPairVlan
source§fn partial_cmp(&self, other: &PortPairVlan) -> Option<Ordering>
fn partial_cmp(&self, other: &PortPairVlan) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for PortPairVlan
impl TryFrom<i32> for PortPairVlan
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<PortPairVlan, UnknownEnumValue>
fn try_from(value: i32) -> Result<PortPairVlan, UnknownEnumValue>
impl Copy for PortPairVlan
impl Eq for PortPairVlan
impl StructuralPartialEq for PortPairVlan
Auto Trait Implementations§
impl Freeze for PortPairVlan
impl RefUnwindSafe for PortPairVlan
impl Send for PortPairVlan
impl Sync for PortPairVlan
impl Unpin for PortPairVlan
impl UnwindSafe for PortPairVlan
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request