pub struct MigrateAssetOptions {
pub consumption_profile: Option<ForeignConsumptionProfile>,
pub estimate_only: Option<bool>,
}
Expand description
Option settings for exporting an asset.
Fields§
§consumption_profile: Option<ForeignConsumptionProfile>
Name of the foreign blockchain’s native coin consumption profile to use.
Note: if not specified, the value currently set (via Catenis’s client admin UI) for the virtual device’s client foreign blockchain consumption profile is used.
estimate_only: Option<bool>
When set, indicates that no asset migration should be executed but only the estimated price (in the foreign blockchain’s native coin) to fulfill the operation should be returned.
Default value: false
.
Trait Implementations§
Source§impl Clone for MigrateAssetOptions
impl Clone for MigrateAssetOptions
Source§fn clone(&self) -> MigrateAssetOptions
fn clone(&self) -> MigrateAssetOptions
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 moreSource§impl Debug for MigrateAssetOptions
impl Debug for MigrateAssetOptions
Source§impl PartialEq for MigrateAssetOptions
impl PartialEq for MigrateAssetOptions
Source§impl Serialize for MigrateAssetOptions
impl Serialize for MigrateAssetOptions
impl Copy for MigrateAssetOptions
impl Eq for MigrateAssetOptions
impl StructuralPartialEq for MigrateAssetOptions
Auto Trait Implementations§
impl Freeze for MigrateAssetOptions
impl RefUnwindSafe for MigrateAssetOptions
impl Send for MigrateAssetOptions
impl Sync for MigrateAssetOptions
impl Unpin for MigrateAssetOptions
impl UnwindSafe for MigrateAssetOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.