pub struct MarketOption {
pub option: String,
pub yes_token_amount: u128,
pub no_token_amount: u128,
pub yes_bet_amount: u128,
pub no_bet_amount: u128,
}Fields§
§option: String§yes_token_amount: u128§no_token_amount: u128§yes_bet_amount: u128§no_bet_amount: u128Trait Implementations§
Source§impl Clone for MarketOption
impl Clone for MarketOption
Source§fn clone(&self) -> MarketOption
fn clone(&self) -> MarketOption
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 MarketOption
impl Debug for MarketOption
Source§impl<'de> Deserialize<'de> for MarketOption
impl<'de> Deserialize<'de> for MarketOption
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
Auto Trait Implementations§
impl Freeze for MarketOption
impl RefUnwindSafe for MarketOption
impl Send for MarketOption
impl Sync for MarketOption
impl Unpin for MarketOption
impl UnsafeUnpin for MarketOption
impl UnwindSafe for MarketOption
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