Enum lockchain_core::Payload
[−]
[src]
pub enum Payload { Text(String), Boolean(bool), Number(i64), BTreeMap(BTreeMap<String, Payload>), }
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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for Payload
[src]
impl PartialEq for Payload
[src]
fn eq(&self, __arg_0: &Payload) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Payload) -> bool
[src]
This method tests for !=
.