pub enum Val {
}Variants§
Str(String)
Chr(char)
Un8(u8)
Un16(u16)
Un32(u32)
Un64(u64)
Un128(u128)
Sn8(i8)
Sn16(i16)
Sn32(i32)
Sn64(i64)
Sn128(i128)
Dec(Decimal)
Bigdec(BigDecimal)
Bigint(BigInt)
Fl64(f64)
Bl(bool)
Nil(())
Undf(())
Dt(Dt)
Dur(Dt)
Implementations§
Source§impl Val
impl Val
pub fn x_key(&self) -> XKey
pub fn cmp_x(&self, other: &Val) -> Ordering
Sourcepub fn x_numeric_value(&self) -> Option<f64>
pub fn x_numeric_value(&self) -> Option<f64>
Numeric representation for the numeric group.
pub fn natural_key(&self) -> NaturalKey
pub fn date_key(&self) -> NaturalKey
pub fn version_key(&self) -> NaturalKey
pub fn fast_key(&self) -> NaturalKey
pub fn natural_key_cs(&self) -> NaturalKey
pub fn lexical_key(&self) -> NaturalKey
pub fn lexical_cs_key(&self) -> NaturalKey
pub fn natural_cmp(&self, other: &Val) -> Ordering
pub fn date_cmp(&self, other: &Val) -> Ordering
pub fn version_cmp(&self, other: &Val) -> Ordering
pub fn fast_cmp(&self, other: &Val) -> Ordering
pub fn natural_cs_cmp(&self, other: &Val) -> Ordering
pub fn lexical_cmp(&self, other: &Val) -> Ordering
pub fn lexical_cs_cmp(&self, other: &Val) -> Ordering
Trait Implementations§
Source§impl From<BigDecimal> for Val
impl From<BigDecimal> for Val
Source§fn from(val: BigDecimal) -> Self
fn from(val: BigDecimal) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Val
Auto Trait Implementations§
impl Freeze for Val
impl RefUnwindSafe for Val
impl Send for Val
impl Sync for Val
impl Unpin for Val
impl UnsafeUnpin for Val
impl UnwindSafe for Val
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