pub struct ManageDataOperationBuilder { /* private fields */ }
Expand description
ManageDataOperation
build
Implementations§
Source§impl ManageDataOperationBuilder
impl ManageDataOperationBuilder
Sourcepub fn set_data(name: String, value: Vec<u8>) -> Self
pub fn set_data(name: String, value: Vec<u8>) -> Self
Create a new operation to set account data name
to value
.
Sourcepub fn delete_data(name: String) -> Self
pub fn delete_data(name: String) -> Self
Create a new operation to delete name
from the account data.
Sourcepub fn with_source(self, source: PublicKey) -> Self
pub fn with_source(self, source: PublicKey) -> Self
Set the operation source
.
Trait Implementations§
Source§impl Clone for ManageDataOperationBuilder
impl Clone for ManageDataOperationBuilder
Source§fn clone(&self) -> ManageDataOperationBuilder
fn clone(&self) -> ManageDataOperationBuilder
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 moreAuto Trait Implementations§
impl Freeze for ManageDataOperationBuilder
impl RefUnwindSafe for ManageDataOperationBuilder
impl Send for ManageDataOperationBuilder
impl Sync for ManageDataOperationBuilder
impl Unpin for ManageDataOperationBuilder
impl UnwindSafe for ManageDataOperationBuilder
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