pub enum FutOptType {
Future,
Option,
}Expand description
Type of futures/options contract
Serializes to uppercase strings: “FUTURE”, “OPTION”
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for FutOptType
impl Clone for FutOptType
Source§fn clone(&self) -> FutOptType
fn clone(&self) -> FutOptType
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 FutOptType
impl Debug for FutOptType
Source§impl<'de> Deserialize<'de> for FutOptType
impl<'de> Deserialize<'de> for FutOptType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FutOptType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FutOptType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FutOptType
impl Display for FutOptType
Source§impl Hash for FutOptType
impl Hash for FutOptType
Source§impl PartialEq for FutOptType
impl PartialEq for FutOptType
Source§fn eq(&self, other: &FutOptType) -> bool
fn eq(&self, other: &FutOptType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FutOptType
impl Serialize for FutOptType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for FutOptType
impl Eq for FutOptType
impl StructuralPartialEq for FutOptType
Auto Trait Implementations§
impl Freeze for FutOptType
impl RefUnwindSafe for FutOptType
impl Send for FutOptType
impl Sync for FutOptType
impl Unpin for FutOptType
impl UnsafeUnpin for FutOptType
impl UnwindSafe for FutOptType
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.