pub struct MosaicGlobalRestriction {
pub mosaic_id: UnresolvedMosaicId,
pub reference_mosaic_id: UnresolvedMosaicId,
pub restriction_key: u64,
pub previous_restriction_value: u64,
pub new_restriction_value: u64,
pub previous_restriction_type: MosaicRestrictionType,
pub new_restriction_type: MosaicRestrictionType,
}Expand description
モザイクの制限で、モザイク全体の条件を決める。
Fields§
§mosaic_id: UnresolvedMosaicId§reference_mosaic_id: UnresolvedMosaicId条件を借りてくるモザイク。0なら mosaic_id 自身
restriction_key: u64§previous_restriction_value: u64§new_restriction_value: u64§previous_restriction_type: MosaicRestrictionType§new_restriction_type: MosaicRestrictionTypeTrait Implementations§
Source§impl Clone for MosaicGlobalRestriction
impl Clone for MosaicGlobalRestriction
Source§fn clone(&self) -> MosaicGlobalRestriction
fn clone(&self) -> MosaicGlobalRestriction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MosaicGlobalRestriction
Source§impl Debug for MosaicGlobalRestriction
impl Debug for MosaicGlobalRestriction
impl Eq for MosaicGlobalRestriction
Source§impl PartialEq for MosaicGlobalRestriction
impl PartialEq for MosaicGlobalRestriction
impl StructuralPartialEq for MosaicGlobalRestriction
Auto Trait Implementations§
impl Freeze for MosaicGlobalRestriction
impl RefUnwindSafe for MosaicGlobalRestriction
impl Send for MosaicGlobalRestriction
impl Sync for MosaicGlobalRestriction
impl Unpin for MosaicGlobalRestriction
impl UnsafeUnpin for MosaicGlobalRestriction
impl UnwindSafe for MosaicGlobalRestriction
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