pub enum ExchangeId {
Polymarket,
Opinion,
Limitless,
}Variants§
Implementations§
Source§impl ExchangeId
impl ExchangeId
pub fn env_prefix(&self) -> &'static str
pub fn required_env_vars(&self) -> Vec<&'static str>
Trait Implementations§
Source§impl Clone for ExchangeId
impl Clone for ExchangeId
Source§fn clone(&self) -> ExchangeId
fn clone(&self) -> ExchangeId
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 ExchangeId
impl Debug for ExchangeId
Source§impl FromStr for ExchangeId
impl FromStr for ExchangeId
Source§impl Hash for ExchangeId
impl Hash for ExchangeId
Source§impl PartialEq for ExchangeId
impl PartialEq for ExchangeId
impl Copy for ExchangeId
impl Eq for ExchangeId
impl StructuralPartialEq for ExchangeId
Auto Trait Implementations§
impl Freeze for ExchangeId
impl RefUnwindSafe for ExchangeId
impl Send for ExchangeId
impl Sync for ExchangeId
impl Unpin for ExchangeId
impl UnwindSafe for ExchangeId
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