#[repr(u32)]pub enum StatusCodeValueType {
Raw = 0,
Calculated = 1,
Interpolated = 2,
Undefined = 3,
}Expand description
The type of data value
Variants§
Raw = 0
Value is raw
Calculated = 1
Value is calculated
Interpolated = 2
Value is interpolated
Undefined = 3
Undefined value type
Implementations§
Source§impl StatusCodeValueType
impl StatusCodeValueType
Sourcepub fn from_value(val: u32) -> Option<Self>
pub fn from_value(val: u32) -> Option<Self>
Create an enum variant from a numeric value.
Source§impl StatusCodeValueType
impl StatusCodeValueType
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Enum variant description.
Trait Implementations§
Source§impl Clone for StatusCodeValueType
impl Clone for StatusCodeValueType
Source§fn clone(&self) -> StatusCodeValueType
fn clone(&self) -> StatusCodeValueType
Returns a duplicate 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 StatusCodeValueType
impl Debug for StatusCodeValueType
Source§impl Display for StatusCodeValueType
impl Display for StatusCodeValueType
Source§impl FromStr for StatusCodeValueType
impl FromStr for StatusCodeValueType
Source§impl Hash for StatusCodeValueType
impl Hash for StatusCodeValueType
Source§impl PartialEq for StatusCodeValueType
impl PartialEq for StatusCodeValueType
impl Copy for StatusCodeValueType
impl Eq for StatusCodeValueType
impl StructuralPartialEq for StatusCodeValueType
Auto Trait Implementations§
impl Freeze for StatusCodeValueType
impl RefUnwindSafe for StatusCodeValueType
impl Send for StatusCodeValueType
impl Sync for StatusCodeValueType
impl Unpin for StatusCodeValueType
impl UnwindSafe for StatusCodeValueType
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> 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.