Enum BreezStatus
#[repr(i32)]pub enum BreezStatus {
Operational = 0,
Maintenance = 1,
ServiceDisruption = 2,
}
Variants§
Implementations§
§impl BreezStatus
impl BreezStatus
§impl BreezStatus
impl BreezStatus
pub 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.
pub fn from_str_name(value: &str) -> Option<BreezStatus>
pub fn from_str_name(value: &str) -> Option<BreezStatus>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
§impl Clone for BreezStatus
impl Clone for BreezStatus
§fn clone(&self) -> BreezStatus
fn clone(&self) -> BreezStatus
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 more§impl Debug for BreezStatus
impl Debug for BreezStatus
§impl Default for BreezStatus
impl Default for BreezStatus
§fn default() -> BreezStatus
fn default() -> BreezStatus
Returns the “default value” for a type. Read more
§impl From<BreezStatus> for i32
impl From<BreezStatus> for i32
§fn from(value: BreezStatus) -> i32
fn from(value: BreezStatus) -> i32
Converts to this type from the input type.
§impl Hash for BreezStatus
impl Hash for BreezStatus
§impl Ord for BreezStatus
impl Ord for BreezStatus
§impl PartialEq for BreezStatus
impl PartialEq for BreezStatus
§impl PartialOrd for BreezStatus
impl PartialOrd for BreezStatus
impl Copy for BreezStatus
impl Eq for BreezStatus
impl StructuralPartialEq for BreezStatus
Auto Trait Implementations§
impl Freeze for BreezStatus
impl RefUnwindSafe for BreezStatus
impl Send for BreezStatus
impl Sync for BreezStatus
impl Unpin for BreezStatus
impl UnwindSafe for BreezStatus
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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.§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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
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> ⓘ
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