pub enum ControlAssetConfig {
New {
amount: NonZeroU64,
},
Existing {
id: AssetId,
},
}Expand description
Control asset configuration to issue new assets.
Variants§
New
Issue an asset with a new control asset.
Fields
§
amount: NonZeroU64Number of control asset units to create.
Existing
Issue an asset with an existing control asset.
Implementations§
Trait Implementations§
Source§impl Clone for ControlAssetConfig
impl Clone for ControlAssetConfig
Source§fn clone(&self) -> ControlAssetConfig
fn clone(&self) -> ControlAssetConfig
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 moreAuto Trait Implementations§
impl Freeze for ControlAssetConfig
impl RefUnwindSafe for ControlAssetConfig
impl Send for ControlAssetConfig
impl Sync for ControlAssetConfig
impl Unpin for ControlAssetConfig
impl UnsafeUnpin for ControlAssetConfig
impl UnwindSafe for ControlAssetConfig
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