Enum modality_api::types::AttrVal
source · pub enum AttrVal {
TimelineId(Box<TimelineId>),
String(String),
Integer(i64),
BigInt(BigInt),
Float(OrderedFloat<f64>),
Bool(bool),
Timestamp(Nanoseconds),
LogicalTime(LogicalTime),
}
Variants§
TimelineId(Box<TimelineId>)
String(String)
Integer(i64)
BigInt(BigInt)
Float(OrderedFloat<f64>)
Bool(bool)
Timestamp(Nanoseconds)
LogicalTime(LogicalTime)
Trait Implementations§
source§impl From<LogicalTime> for AttrVal
impl From<LogicalTime> for AttrVal
source§fn from(lt: LogicalTime) -> AttrVal
fn from(lt: LogicalTime) -> AttrVal
Converts to this type from the input type.
source§impl From<Nanoseconds> for AttrVal
impl From<Nanoseconds> for AttrVal
source§fn from(ns: Nanoseconds) -> AttrVal
fn from(ns: Nanoseconds) -> AttrVal
Converts to this type from the input type.
source§impl Ord for AttrVal
impl Ord for AttrVal
source§impl PartialEq<AttrVal> for AttrVal
impl PartialEq<AttrVal> for AttrVal
source§impl PartialOrd<AttrVal> for AttrVal
impl PartialOrd<AttrVal> for AttrVal
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more