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 moreimpl Eq for AttrVal
impl StructuralEq for AttrVal
impl StructuralPartialEq for AttrVal
Auto Trait Implementations§
impl RefUnwindSafe for AttrVal
impl Send for AttrVal
impl Sync for AttrVal
impl Unpin for AttrVal
impl UnwindSafe for AttrVal
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