pub struct AccountRestrictionsBuilder { /* private fields */ }
Expand description
Binary layout for account restrictions.
Implementations§
Source§impl AccountRestrictionsBuilder
impl AccountRestrictionsBuilder
Sourcepub fn from_binary(_bytes: &[u8]) -> Self
pub fn from_binary(_bytes: &[u8]) -> Self
Creates an instance of AccountRestrictionsBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A AccountRestrictionsBuilder.
Sourcepub fn get_address(&self) -> AddressDto
pub fn get_address(&self) -> AddressDto
Sourcepub fn get_restrictions(&self) -> Vec<AccountRestrictionsInfoBuilder>
pub fn get_restrictions(&self) -> Vec<AccountRestrictionsInfoBuilder>
Trait Implementations§
Source§impl Clone for AccountRestrictionsBuilder
impl Clone for AccountRestrictionsBuilder
Source§fn clone(&self) -> AccountRestrictionsBuilder
fn clone(&self) -> AccountRestrictionsBuilder
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 AccountRestrictionsBuilder
impl RefUnwindSafe for AccountRestrictionsBuilder
impl Send for AccountRestrictionsBuilder
impl Sync for AccountRestrictionsBuilder
impl Unpin for AccountRestrictionsBuilder
impl UnwindSafe for AccountRestrictionsBuilder
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