Enum cel_interpreter::objects::Key
source · pub enum Key {
Int(i64),
Uint(u64),
Bool(bool),
String(Arc<String>),
}Variants§
Trait Implementations§
source§impl Ord for Key
impl Ord for Key
source§impl PartialOrd for Key
impl PartialOrd for Key
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 moresource§impl TryIntoValue for &Key
impl TryIntoValue for &Key
type Error = Infallible
fn try_into_value(self) -> Result<Value, Self::Error>
source§impl TryIntoValue for Key
impl TryIntoValue for Key
type Error = Infallible
fn try_into_value(self) -> Result<Value, Self::Error>
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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