pub struct TournamentView {
pub stats: TournamentStatsView,
pub top_permutations: Vec<PermutationSummaryView>,
pub slot_rankings: Vec<SlotRankingView>,
}Expand description
Chart-ready view model for a finalized tournament job.
Fields§
§stats: TournamentStatsView§top_permutations: Vec<PermutationSummaryView>§slot_rankings: Vec<SlotRankingView>Trait Implementations§
Source§impl Clone for TournamentView
impl Clone for TournamentView
Source§fn clone(&self) -> TournamentView
fn clone(&self) -> TournamentView
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 TournamentView
impl Debug for TournamentView
Source§impl Serialize for TournamentView
impl Serialize for TournamentView
Source§impl Tsify for TournamentView
impl Tsify for TournamentView
const DECL: &'static str = "/**\n * Chart-ready view model for a finalized tournament job.\n */\nexport interface TournamentView {\n stats: TournamentStatsView;\n top_permutations: PermutationSummaryView[];\n slot_rankings: SlotRankingView[];\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
Auto Trait Implementations§
impl Freeze for TournamentView
impl RefUnwindSafe for TournamentView
impl Send for TournamentView
impl Sync for TournamentView
impl Unpin for TournamentView
impl UnsafeUnpin for TournamentView
impl UnwindSafe for TournamentView
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