Enum google_api_proto::google::cloud::compute::v1::router_interface::ManagementType
source · #[repr(i32)]pub enum ManagementType {
UndefinedManagementType = 0,
ManagedByAttachment = 458_926_411,
ManagedByUser = 317_294_067,
}
Expand description
[Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted.
Variants§
UndefinedManagementType = 0
A value indicating that the enum field is not set.
ManagedByAttachment = 458_926_411
The interface is automatically created for PARTNER type InterconnectAttachment, Google will automatically create/update/delete this interface when the PARTNER InterconnectAttachment is created/provisioned/deleted. This type of interface cannot be manually managed by user.
ManagedByUser = 317_294_067
Default value, the interface is manually created and managed by user.
Implementations§
source§impl ManagementType
impl ManagementType
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 ManagementType
impl Clone for ManagementType
source§fn clone(&self) -> ManagementType
fn clone(&self) -> ManagementType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ManagementType
impl Debug for ManagementType
source§impl Default for ManagementType
impl Default for ManagementType
source§fn default() -> ManagementType
fn default() -> ManagementType
source§impl From<ManagementType> for i32
impl From<ManagementType> for i32
source§fn from(value: ManagementType) -> i32
fn from(value: ManagementType) -> i32
source§impl Hash for ManagementType
impl Hash for ManagementType
source§impl Ord for ManagementType
impl Ord for ManagementType
source§fn cmp(&self, other: &ManagementType) -> Ordering
fn cmp(&self, other: &ManagementType) -> 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 ManagementType
impl PartialEq for ManagementType
source§fn eq(&self, other: &ManagementType) -> bool
fn eq(&self, other: &ManagementType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ManagementType
impl PartialOrd for ManagementType
source§fn partial_cmp(&self, other: &ManagementType) -> Option<Ordering>
fn partial_cmp(&self, other: &ManagementType) -> 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 ManagementType
impl TryFrom<i32> for ManagementType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<ManagementType, DecodeError>
fn try_from(value: i32) -> Result<ManagementType, DecodeError>
impl Copy for ManagementType
impl Eq for ManagementType
impl StructuralPartialEq for ManagementType
Auto Trait Implementations§
impl Freeze for ManagementType
impl RefUnwindSafe for ManagementType
impl Send for ManagementType
impl Sync for ManagementType
impl Unpin for ManagementType
impl UnwindSafe for ManagementType
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