pub struct EnumValue {
pub enum_name: String,
pub variant_name: String,
pub payload: Vec<Value>,
}Expand description
A user-defined enum value (T9). Carries the enum name, variant name, and optional payload values. Unit variants have an empty payload.
Fields§
§enum_name: String§variant_name: String§payload: Vec<Value>Implementations§
Trait Implementations§
impl StructuralPartialEq for EnumValue
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