Struct shuttle_core::ManageDataOperationBuilder
[−]
[src]
pub struct ManageDataOperationBuilder { /* fields omitted */ }
ManageDataOperation
build
Methods
impl ManageDataOperationBuilder
[src]
fn set_data(name: String, value: Vec<u8>) -> Self
[src]
Create a new operation to set account data name
to value
.
fn delete_data(name: String) -> Self
[src]
Create a new operation to delete name
from the account data.
fn with_source(self, source: PublicKey) -> Self
[src]
Set the operation source
.
fn build(self) -> Operation
[src]
Return the Operation
.
Trait Implementations
impl Debug for ManageDataOperationBuilder
[src]
impl Clone for ManageDataOperationBuilder
[src]
fn clone(&self) -> ManageDataOperationBuilder
[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