pub enum AnnotatedMoveValue {
U8(u8),
U64(u64),
U128(u128),
Bool(bool),
Address(AccountAddress),
Vector(TypeTag, Vec<AnnotatedMoveValue>),
Bytes(Vec<u8>),
Struct(AnnotatedMoveStruct),
}Expand description
AnnotatedMoveValue is a fully expanded version of on chain Move data. This should only be used for debugging/client purpose right now and just for a better visualization of on chain data. In the long run, we would like to transform this struct to a Json value so that we can have a cross platform interpretation of the on chain data.
Variants
U8(u8)
U64(u64)
U128(u128)
Bool(bool)
Address(AccountAddress)
Vector(TypeTag, Vec<AnnotatedMoveValue>)
Bytes(Vec<u8>)
Struct(AnnotatedMoveStruct)
Implementations
Trait Implementations
sourceimpl Clone for AnnotatedMoveValue
impl Clone for AnnotatedMoveValue
sourcefn clone(&self) -> AnnotatedMoveValue
fn clone(&self) -> AnnotatedMoveValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AnnotatedMoveValue
impl Debug for AnnotatedMoveValue
sourceimpl Display for AnnotatedMoveValue
impl Display for AnnotatedMoveValue
sourceimpl Serialize for AnnotatedMoveValue
impl Serialize for AnnotatedMoveValue
Auto Trait Implementations
impl RefUnwindSafe for AnnotatedMoveValue
impl Send for AnnotatedMoveValue
impl Sync for AnnotatedMoveValue
impl Unpin for AnnotatedMoveValue
impl UnwindSafe for AnnotatedMoveValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more