pub enum SemanticAmountResolution {
ArgMint {
arg_name: String,
},
ArgDecimals {
arg_name: String,
},
KnownAccount {
account_name: String,
optional: bool,
},
KnownAddress {
address: String,
},
Constant {
decimals: u8,
},
}Variants§
Trait Implementations§
Source§impl Clone for SemanticAmountResolution
impl Clone for SemanticAmountResolution
Source§fn clone(&self) -> SemanticAmountResolution
fn clone(&self) -> SemanticAmountResolution
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 moreSource§impl Debug for SemanticAmountResolution
impl Debug for SemanticAmountResolution
impl Eq for SemanticAmountResolution
Source§impl PartialEq for SemanticAmountResolution
impl PartialEq for SemanticAmountResolution
impl StructuralPartialEq for SemanticAmountResolution
Auto Trait Implementations§
impl Freeze for SemanticAmountResolution
impl RefUnwindSafe for SemanticAmountResolution
impl Send for SemanticAmountResolution
impl Sync for SemanticAmountResolution
impl Unpin for SemanticAmountResolution
impl UnsafeUnpin for SemanticAmountResolution
impl UnwindSafe for SemanticAmountResolution
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.