#[non_exhaustive]pub struct EventGroup {
pub id: String,
pub title: Option<String>,
pub outcomes: Vec<EventOutcome>,
pub extensions: Extensions,
}Expand description
An event and every outcome it groups, across its markets.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringThe venue’s id for the event.
title: Option<String>The event’s title, when it has one.
outcomes: Vec<EventOutcome>Its outcomes, market by market.
extensions: ExtensionsThe venue’s own facts.
Implementations§
Trait Implementations§
Source§impl Clone for EventGroup
impl Clone for EventGroup
Source§impl Debug for EventGroup
impl Debug for EventGroup
Source§impl PartialEq for EventGroup
impl PartialEq for EventGroup
impl StructuralPartialEq for EventGroup
Auto Trait Implementations§
impl !RefUnwindSafe for EventGroup
impl !UnwindSafe for EventGroup
impl Freeze for EventGroup
impl Send for EventGroup
impl Sync for EventGroup
impl Unpin for EventGroup
impl UnsafeUnpin for EventGroup
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