pub struct AccountOperationRestrictionTransactionBuilder {
pub super_object: TransactionBuilder,
pub body: AccountOperationRestrictionTransactionBodyBuilder,
}
Expand description
Binary layout for a non-embedded account operation restriction transaction.
Fields§
§super_object: TransactionBuilder
Transaction.
body: AccountOperationRestrictionTransactionBodyBuilder
Account operation restriction transaction body.
Implementations§
Source§impl AccountOperationRestrictionTransactionBuilder
impl AccountOperationRestrictionTransactionBuilder
Sourcepub fn from_binary(payload: &[u8]) -> Self
pub fn from_binary(payload: &[u8]) -> Self
Creates an instance of AccountOperationRestrictionTransactionBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A AccountOperationRestrictionTransactionBuilder.
pub fn get_restriction_flags(&self) -> Vec<AccountRestrictionFlagsDto>
pub fn set_restriction_flags( &mut self, restriction_flags: Vec<AccountRestrictionFlagsDto>, )
pub fn get_restriction_additions(&self) -> Vec<EntityTypeDto>
pub fn get_restriction_deletions(&self) -> Vec<EntityTypeDto>
Trait Implementations§
Source§impl Clone for AccountOperationRestrictionTransactionBuilder
impl Clone for AccountOperationRestrictionTransactionBuilder
Source§fn clone(&self) -> AccountOperationRestrictionTransactionBuilder
fn clone(&self) -> AccountOperationRestrictionTransactionBuilder
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 AccountOperationRestrictionTransactionBuilder
impl RefUnwindSafe for AccountOperationRestrictionTransactionBuilder
impl Send for AccountOperationRestrictionTransactionBuilder
impl Sync for AccountOperationRestrictionTransactionBuilder
impl Unpin for AccountOperationRestrictionTransactionBuilder
impl UnwindSafe for AccountOperationRestrictionTransactionBuilder
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