pub struct CelContext { /* private fields */ }Implementations§
Source§impl CelContext
impl CelContext
pub fn add_variable( &mut self, name: impl Into<Cow<'static, str>>, value: impl Into<CelValue>, )
Sourcepub fn debug_context(&self) -> String
pub fn debug_context(&self) -> String
Returns a debug representation of all context variables with their values Useful for tracing/debugging - excludes built-in functions and packages
pub fn new() -> Self
Trait Implementations§
Source§impl Debug for CelContext
impl Debug for CelContext
Auto Trait Implementations§
impl Freeze for CelContext
impl !RefUnwindSafe for CelContext
impl !Send for CelContext
impl Sync for CelContext
impl Unpin for CelContext
impl !UnwindSafe for CelContext
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