cel 0.11.0

A parser and interpreter for the Common Expression Language (CEL)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::common::types::Type;
use crate::common::value::Val;
use std::any::Any;

pub struct Null;

impl Val for Null {
    fn get_type(&self) -> Type {
        super::NULL_TYPE
    }

    fn into_inner(self) -> Box<dyn Any> {
        Box::new(None::<()>)
    }
}