pub enum OrderOutcome {
Yes,
No,
Label(String),
}Expand description
Outcome targeted by an order. Options: yes, no, or label: "<name>" for categorical Polymarket markets.
Variants§
Trait Implementations§
Source§impl Clone for OrderOutcome
impl Clone for OrderOutcome
Source§fn clone(&self) -> OrderOutcome
fn clone(&self) -> OrderOutcome
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 OrderOutcome
impl Debug for OrderOutcome
Source§impl<'de> Deserialize<'de> for OrderOutcome
impl<'de> Deserialize<'de> for OrderOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OrderOutcome
impl PartialEq for OrderOutcome
Source§impl Serialize for OrderOutcome
impl Serialize for OrderOutcome
impl StructuralPartialEq for OrderOutcome
Auto Trait Implementations§
impl Freeze for OrderOutcome
impl RefUnwindSafe for OrderOutcome
impl Send for OrderOutcome
impl Sync for OrderOutcome
impl Unpin for OrderOutcome
impl UnsafeUnpin for OrderOutcome
impl UnwindSafe for OrderOutcome
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