pub struct GlobalKeyValueBuilder { /* private fields */ }
Expand description
Binary layout for a global key-value.
Implementations§
Source§impl GlobalKeyValueBuilder
impl GlobalKeyValueBuilder
Sourcepub fn from_binary(_bytes: &[u8]) -> Self
pub fn from_binary(_bytes: &[u8]) -> Self
Creates an instance of GlobalKeyValueBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A GlobalKeyValueBuilder.
Sourcepub fn get_key(&self) -> MosaicRestrictionKeyDto
pub fn get_key(&self) -> MosaicRestrictionKeyDto
Sourcepub fn get_restriction_rule(&self) -> RestrictionRuleBuilder
pub fn get_restriction_rule(&self) -> RestrictionRuleBuilder
Gets restriction rule (the value) associated with a key.
§Returns
A Restriction rule (the value) associated with a key.
Trait Implementations§
Source§impl Clone for GlobalKeyValueBuilder
impl Clone for GlobalKeyValueBuilder
Source§fn clone(&self) -> GlobalKeyValueBuilder
fn clone(&self) -> GlobalKeyValueBuilder
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 GlobalKeyValueBuilder
impl RefUnwindSafe for GlobalKeyValueBuilder
impl Send for GlobalKeyValueBuilder
impl Sync for GlobalKeyValueBuilder
impl Unpin for GlobalKeyValueBuilder
impl UnwindSafe for GlobalKeyValueBuilder
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