pub struct MarketResolvedEvent {
pub slug: String,
pub market_type: String,
pub winning_outcome: String,
pub winning_index: i32,
pub resolution_date: String,
}Expand description
Emitted when a market is resolved with a winning outcome.
Fields§
§slug: String§market_type: String§winning_outcome: String§winning_index: i32§resolution_date: StringTrait Implementations§
Source§impl Clone for MarketResolvedEvent
impl Clone for MarketResolvedEvent
Source§fn clone(&self) -> MarketResolvedEvent
fn clone(&self) -> MarketResolvedEvent
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 MarketResolvedEvent
impl Debug for MarketResolvedEvent
Source§impl<'de> Deserialize<'de> for MarketResolvedEvent
impl<'de> Deserialize<'de> for MarketResolvedEvent
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 MarketResolvedEvent
impl RefUnwindSafe for MarketResolvedEvent
impl Send for MarketResolvedEvent
impl Sync for MarketResolvedEvent
impl Unpin for MarketResolvedEvent
impl UnsafeUnpin for MarketResolvedEvent
impl UnwindSafe for MarketResolvedEvent
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