pub struct TypeValue {
pub name: Arc<str>,
}Expand description
A CEL type value (runtime representation of types).
Fields§
§name: Arc<str>The type name as it appears in CEL.
Implementations§
Source§impl TypeValue
impl TypeValue
pub fn bool_type() -> Self
pub fn int_type() -> Self
pub fn uint_type() -> Self
pub fn double_type() -> Self
pub fn string_type() -> Self
pub fn bytes_type() -> Self
pub fn list_type() -> Self
pub fn map_type() -> Self
pub fn timestamp_type() -> Self
pub fn duration_type() -> Self
pub fn type_type() -> Self
pub fn optional_type() -> Self
Trait Implementations§
impl Eq for TypeValue
impl StructuralPartialEq for TypeValue
Auto Trait Implementations§
impl Freeze for TypeValue
impl RefUnwindSafe for TypeValue
impl Send for TypeValue
impl Sync for TypeValue
impl Unpin for TypeValue
impl UnwindSafe for TypeValue
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