pub struct TableRow {
pub club: ClubId,
pub played: u32,
pub won: u32,
pub drawn: u32,
pub lost: u32,
pub goals_for: u32,
pub goals_against: u32,
}Expand description
One league-table row. The table is derived, never stored — same philosophy as CA: results are the single source of truth, the table is a view.
Fields§
§club: ClubId§played: u32§won: u32§drawn: u32§lost: u32§goals_for: u32§goals_against: u32Implementations§
Trait Implementations§
impl Eq for TableRow
impl StructuralPartialEq for TableRow
Auto Trait Implementations§
impl Freeze for TableRow
impl RefUnwindSafe for TableRow
impl Send for TableRow
impl Sync for TableRow
impl Unpin for TableRow
impl UnsafeUnpin for TableRow
impl UnwindSafe for TableRow
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