Enum google_api_proto::google::cloud::compute::v1::interconnect_attachment::Bandwidth
source · #[repr(i32)]pub enum Bandwidth {
Show 13 variants
UndefinedBandwidth = 0,
Bps100m = 49_547_958,
Bps10g = 278_693_006,
Bps1g = 355_358_448,
Bps200m = 49_577_749,
Bps20g = 278_693_967,
Bps2g = 355_358_479,
Bps300m = 49_607_540,
Bps400m = 49_637_331,
Bps500m = 49_667_122,
Bps50g = 278_696_850,
Bps50m = 278_696_856,
Bps5g = 355_358_572,
}
Expand description
Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s
Variants§
UndefinedBandwidth = 0
A value indicating that the enum field is not set.
Bps100m = 49_547_958
100 Mbit/s
Bps10g = 278_693_006
10 Gbit/s
Bps1g = 355_358_448
1 Gbit/s
Bps200m = 49_577_749
200 Mbit/s
Bps20g = 278_693_967
20 Gbit/s
Bps2g = 355_358_479
2 Gbit/s
Bps300m = 49_607_540
300 Mbit/s
Bps400m = 49_637_331
400 Mbit/s
Bps500m = 49_667_122
500 Mbit/s
Bps50g = 278_696_850
50 Gbit/s
Bps50m = 278_696_856
50 Mbit/s
Bps5g = 355_358_572
5 Gbit/s
Implementations§
source§impl Bandwidth
impl Bandwidth
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 Ord for Bandwidth
impl Ord for Bandwidth
source§impl PartialEq for Bandwidth
impl PartialEq for Bandwidth
source§impl PartialOrd for Bandwidth
impl PartialOrd for Bandwidth
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 Bandwidth
impl TryFrom<i32> for Bandwidth
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for Bandwidth
impl Eq for Bandwidth
impl StructuralPartialEq for Bandwidth
Auto Trait Implementations§
impl Freeze for Bandwidth
impl RefUnwindSafe for Bandwidth
impl Send for Bandwidth
impl Sync for Bandwidth
impl Unpin for Bandwidth
impl UnwindSafe for Bandwidth
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