[][src]Enum cel_interpreter::objects::CelType

pub enum CelType {
    List(Rc<[CelType]>),
    Map(CelMap),
    Function(Rc<String>, Option<Box<CelType>>),
    Int(i32),
    UInt(u32),
    Float(f64),
    String(Rc<String>),
    Bytes(Rc<Vec<u8>>),
    Bool(bool),
    Null,
}

Variants

List(Rc<[CelType]>)
Map(CelMap)
Function(Rc<String>, Option<Box<CelType>>)
Int(i32)
UInt(u32)
Float(f64)
String(Rc<String>)
Bytes(Rc<Vec<u8>>)
Bool(bool)
Null

Implementations

impl<'a> CelType[src]

pub fn resolve(expr: &'a Expression, ctx: &Context) -> CelType[src]

Trait Implementations

impl Add<CelType> for CelType[src]

type Output = CelType

The resulting type after applying the + operator.

impl Clone for CelType[src]

impl Debug for CelType[src]

impl<'_> From<&'_ Atom> for CelType[src]

impl PartialEq<CelType> for CelType[src]

impl PartialOrd<CelType> for CelType[src]

impl StructuralPartialEq for CelType[src]

impl<'a> TryInto<CelKey> for CelType[src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.