Enum crypto_message::compact::QuantityChoice
source · pub enum QuantityChoice {
Base,
Quote,
Contract,
}Expand description
Choose which field to use as the quantity.
Variants§
Trait Implementations§
source§impl Clone for QuantityChoice
impl Clone for QuantityChoice
source§fn clone(&self) -> QuantityChoice
fn clone(&self) -> QuantityChoice
Returns a copy 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 QuantityChoice
impl Debug for QuantityChoice
source§impl Display for QuantityChoice
impl Display for QuantityChoice
source§impl FromStr for QuantityChoice
impl FromStr for QuantityChoice
source§impl TryFrom<&str> for QuantityChoice
impl TryFrom<&str> for QuantityChoice
impl Copy for QuantityChoice
Auto Trait Implementations§
impl Freeze for QuantityChoice
impl RefUnwindSafe for QuantityChoice
impl Send for QuantityChoice
impl Sync for QuantityChoice
impl Unpin for QuantityChoice
impl UnwindSafe for QuantityChoice
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)