Enum lockchain_core::Payload [−][src]
An enum that wraps around all possible data types to store as the value of a vault record.
This doesn't include metadata attached to a field, just the data representation itself (i.e. text, number or sub data-tree)
Variants
Text(String)
Boolean(bool)
Number(i64)
BTreeMap(BTreeMap<String, Payload>)
Trait Implementations
impl Debug for Payload
[src]
impl Debug for Payload
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Payload
[src]
impl Eq for Payload
impl PartialEq for Payload
[src]
impl PartialEq for Payload
fn eq(&self, other: &Payload) -> bool
[src]
fn eq(&self, other: &Payload) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Payload) -> bool
[src]
fn ne(&self, other: &Payload) -> bool
This method tests for !=
.
impl Clone for Payload
[src]
impl Clone for Payload