#[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>
Try to create this enum from a u32 value.
Source§impl StatusCodeValueType
impl StatusCodeValueType
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Return a string description of this enum value.
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<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> IntoPatchItem<UpdateSet<T>> for T
impl<T> IntoPatchItem<UpdateSet<T>> for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.