pub enum ConstValue {
Int(i64),
Double(f64),
String(String),
List(Vec<ConstValue>),
Map,
}Variants§
Trait Implementations§
Source§impl Debug for ConstValue
impl Debug for ConstValue
Source§impl Decodable for ConstValue
impl Decodable for ConstValue
Source§impl Encodable for ConstValue
impl Encodable for ConstValue
Source§impl PartialEq for ConstValue
impl PartialEq for ConstValue
impl StructuralPartialEq for ConstValue
Auto Trait Implementations§
impl Freeze for ConstValue
impl RefUnwindSafe for ConstValue
impl Send for ConstValue
impl Sync for ConstValue
impl Unpin for ConstValue
impl UnwindSafe for ConstValue
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