pub struct FlattenedMarket {
pub event_type_id: Option<String>,
pub event_type_name: Option<Ustr>,
pub event_id: Option<String>,
pub event_name: Option<String>,
pub event_country_code: Option<Ustr>,
pub market_id: Option<MarketId>,
pub market_name: Option<String>,
pub market_type: Option<Ustr>,
pub market_start_time: Option<String>,
pub number_of_winners: Option<u32>,
}Expand description
Flattened (denormalized) view of a market from the navigation tree.
Fields§
§event_type_id: Option<String>§event_type_name: Option<Ustr>§event_id: Option<String>§event_name: Option<String>§event_country_code: Option<Ustr>§market_id: Option<MarketId>§market_name: Option<String>§market_type: Option<Ustr>§market_start_time: Option<String>§number_of_winners: Option<u32>Trait Implementations§
Source§impl Clone for FlattenedMarket
impl Clone for FlattenedMarket
Source§fn clone(&self) -> FlattenedMarket
fn clone(&self) -> FlattenedMarket
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 moreAuto Trait Implementations§
impl Freeze for FlattenedMarket
impl RefUnwindSafe for FlattenedMarket
impl Send for FlattenedMarket
impl Sync for FlattenedMarket
impl Unpin for FlattenedMarket
impl UnsafeUnpin for FlattenedMarket
impl UnwindSafe for FlattenedMarket
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more