pub enum StateValue {
Null,
Cell {
descriptor: Option<String>,
value: RuntimeValue,
},
CellExpr {
descriptor: Option<String>,
value: Box<Expression>,
},
Array {
items: Vec<StateValue>,
},
Map {
entries: Vec<MapEntry>,
},
MerkleTree {
depth: IntLit,
entries: Vec<MapEntry>,
},
}Variants§
Trait Implementations§
Source§impl Clone for StateValue
impl Clone for StateValue
Source§impl Debug for StateValue
impl Debug for StateValue
Source§impl<'de> Deserialize<'de> for StateValue
impl<'de> Deserialize<'de> for StateValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for StateValue
impl Freeze for StateValuewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<RuntimeValue>: Freeze,
*const LeafNode<String, RuntimeValue> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, RuntimeValue)>>: Freeze,
*const Expression is !null: Freeze,
PhantomData<Expression>: Freeze,
PhantomData<StateValue>: Freeze,
PhantomData<MapEntry>: Freeze,
impl Move for StateValue
impl RefUnwindSafe for StateValue
impl Send for StateValuewhere
RawVecInner: Send,
NodeRef<Owned, String, RuntimeValue, LeafOrInternal>: Send,
BoxRaw<(String, RuntimeValue)>: Send,
BoxRaw<Expression>: Send,
impl Sync for StateValuewhere
RawVecInner: Sync,
NodeRef<Owned, String, RuntimeValue, LeafOrInternal>: Sync,
BoxRaw<(String, RuntimeValue)>: Sync,
BoxRaw<Expression>: Sync,
impl Unpin for StateValuewhere
*const u8 is !null: Unpin,
*const LeafNode<String, RuntimeValue> is !null: Unpin,
Box<(String, RuntimeValue)>: Unpin,
Box<Expression>: Unpin,
impl UnsafeUnpin for StateValuewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<RuntimeValue>: UnsafeUnpin,
*const LeafNode<String, RuntimeValue> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, RuntimeValue)>>: UnsafeUnpin,
*const Expression is !null: UnsafeUnpin,
PhantomData<Expression>: UnsafeUnpin,
PhantomData<StateValue>: UnsafeUnpin,
PhantomData<MapEntry>: UnsafeUnpin,
impl UnwindSafe for StateValuewhere
RawVecInner: UnwindSafe,
BTreeMap<String, RuntimeValue>: UnwindSafe,
BoxRaw<Expression>: UnwindSafe,
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