pub enum Value {
Unsigned(u64),
Signed(i64),
Hex(u64),
BitString(String),
Bool(bool),
}Expand description
How a field value should be displayed.
Variants§
Unsigned(u64)
Decimal unsigned: = 256
Signed(i64)
Decimal signed: = -2
Hex(u64)
Hexadecimal: = 0x47
BitString(String)
Bit string: = '111111'
Bool(bool)
Boolean displayed as 0/1: = 1
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnsafeUnpin for Value
impl UnwindSafe for Value
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