Struct shuttle_core::ManageDataOperation
[−]
[src]
pub struct ManageDataOperation {
pub source: Option<PublicKey>,
pub name: String,
pub value: Option<Vec<u8>>,
}Add data entry to the ledger.
Fields
source: Option<PublicKey>
The source account for the operation.
name: String
The key of the data entry
value: Option<Vec<u8>>
The value of the data entry. A value of None will delete the entry.
Trait Implementations
impl Debug for ManageDataOperation[src]
impl Clone for ManageDataOperation[src]
fn clone(&self) -> ManageDataOperation[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for ManageDataOperation[src]
fn eq(&self, __arg_0: &ManageDataOperation) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ManageDataOperation) -> bool[src]
This method tests for !=.