pub struct RestrictionRuleBuilder { /* private fields */ }
Expand description
Binary layout of restriction rule being applied.
Implementations§
Source§impl RestrictionRuleBuilder
impl RestrictionRuleBuilder
Sourcepub fn from_binary(_bytes: &[u8]) -> Self
pub fn from_binary(_bytes: &[u8]) -> Self
Creates an instance of RestrictionRuleBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A RestrictionRuleBuilder.
Sourcepub fn get_reference_mosaic_id(&self) -> MosaicIdDto
pub fn get_reference_mosaic_id(&self) -> MosaicIdDto
Gets identifier of the mosaic providing the restriction key.
§Returns
A Identifier of the mosaic providing the restriction key.
Sourcepub fn get_restriction_value(&self) -> u64
pub fn get_restriction_value(&self) -> u64
Sourcepub fn get_restriction_type(&self) -> MosaicRestrictionTypeDto
pub fn get_restriction_type(&self) -> MosaicRestrictionTypeDto
Trait Implementations§
Source§impl Clone for RestrictionRuleBuilder
impl Clone for RestrictionRuleBuilder
Source§fn clone(&self) -> RestrictionRuleBuilder
fn clone(&self) -> RestrictionRuleBuilder
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 RestrictionRuleBuilder
impl RefUnwindSafe for RestrictionRuleBuilder
impl Send for RestrictionRuleBuilder
impl Sync for RestrictionRuleBuilder
impl Unpin for RestrictionRuleBuilder
impl UnwindSafe for RestrictionRuleBuilder
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