pub struct EnumValue {
pub type_name: Arc<str>,
pub value: i32,
}Expand description
A CEL enum value with type information.
Used for strong enum typing where enum values carry their fully qualified type name alongside the numeric value.
Fields§
§type_name: Arc<str>The fully qualified enum type name (e.g., “cel.expr.conformance.proto3.GlobalEnum”).
value: i32The numeric enum value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnumValue
impl RefUnwindSafe for EnumValue
impl Send for EnumValue
impl Sync for EnumValue
impl Unpin for EnumValue
impl UnsafeUnpin for EnumValue
impl UnwindSafe for EnumValue
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