pub struct ManageDataOperation {
pub source: Option<PublicKey>,
pub name: String,
pub value: Option<Vec<u8>>,
}
Expand description
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§
Source§impl Clone for ManageDataOperation
impl Clone for ManageDataOperation
Source§fn clone(&self) -> ManageDataOperation
fn clone(&self) -> ManageDataOperation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ManageDataOperation
impl Debug for ManageDataOperation
Source§impl PartialEq for ManageDataOperation
impl PartialEq for ManageDataOperation
impl Eq for ManageDataOperation
impl StructuralPartialEq for ManageDataOperation
Auto Trait Implementations§
impl Freeze for ManageDataOperation
impl RefUnwindSafe for ManageDataOperation
impl Send for ManageDataOperation
impl Sync for ManageDataOperation
impl Unpin for ManageDataOperation
impl UnwindSafe for ManageDataOperation
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