#[repr(i32)]pub enum DataLinkStatus {
Unspecified = 0,
Unknown = 1,
Requested = 2,
PendingApproval = 3,
Enabled = 4,
Disabled = 5,
Revoked = 6,
Rejected = 7,
}
Expand description
Describes the possible data link statuses.
Variants§
Unspecified = 0
Not specified.
Unknown = 1
The value is unknown in this version.
Requested = 2
Link has been requested by one party, but not confirmed by the other party.
PendingApproval = 3
Link is waiting for the customer to approve.
Enabled = 4
Link is established and can be used as needed.
Disabled = 5
Link is no longer valid and should be ignored.
Revoked = 6
Link request has been cancelled by the requester and further cleanup may be needed.
Rejected = 7
Link request has been rejected by the approver.
Implementations§
Source§impl DataLinkStatus
impl DataLinkStatus
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 DataLinkStatus
impl Clone for DataLinkStatus
Source§fn clone(&self) -> DataLinkStatus
fn clone(&self) -> DataLinkStatus
Returns a copy 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 DataLinkStatus
impl Debug for DataLinkStatus
Source§impl Default for DataLinkStatus
impl Default for DataLinkStatus
Source§fn default() -> DataLinkStatus
fn default() -> DataLinkStatus
Returns the “default value” for a type. Read more
Source§impl From<DataLinkStatus> for i32
impl From<DataLinkStatus> for i32
Source§fn from(value: DataLinkStatus) -> i32
fn from(value: DataLinkStatus) -> i32
Converts to this type from the input type.
Source§impl Hash for DataLinkStatus
impl Hash for DataLinkStatus
Source§impl Ord for DataLinkStatus
impl Ord for DataLinkStatus
Source§fn cmp(&self, other: &DataLinkStatus) -> Ordering
fn cmp(&self, other: &DataLinkStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DataLinkStatus
impl PartialEq for DataLinkStatus
Source§impl PartialOrd for DataLinkStatus
impl PartialOrd for DataLinkStatus
impl Copy for DataLinkStatus
impl Eq for DataLinkStatus
impl StructuralPartialEq for DataLinkStatus
Auto Trait Implementations§
impl Freeze for DataLinkStatus
impl RefUnwindSafe for DataLinkStatus
impl Send for DataLinkStatus
impl Sync for DataLinkStatus
impl Unpin for DataLinkStatus
impl UnwindSafe for DataLinkStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§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
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
Wrap the input message
T
in a tonic::Request