pub struct GroupStanding {
pub team: Team,
pub rank: u8,
pub played: u8,
pub won: u8,
pub drawn: u8,
pub lost: u8,
pub goals_for: u16,
pub goals_against: u16,
pub goal_diff: i16,
pub points: u16,
}Expand description
One team’s row in a group table.
Fields§
§team: TeamThe team this row describes.
rank: u81-based rank within the group.
played: u8Matches played.
won: u8Wins.
drawn: u8Draws.
lost: u8Losses.
goals_for: u16Goals scored.
goals_against: u16Goals conceded.
goal_diff: i16Goal difference (goals_for - goals_against).
points: u16Points.
Trait Implementations§
Source§impl Clone for GroupStanding
impl Clone for GroupStanding
Source§fn clone(&self) -> GroupStanding
fn clone(&self) -> GroupStanding
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 GroupStanding
impl Debug for GroupStanding
Source§impl<'de> Deserialize<'de> for GroupStanding
impl<'de> Deserialize<'de> for GroupStanding
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
impl Eq for GroupStanding
Source§impl PartialEq for GroupStanding
impl PartialEq for GroupStanding
Source§fn eq(&self, other: &GroupStanding) -> bool
fn eq(&self, other: &GroupStanding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GroupStanding
impl Serialize for GroupStanding
impl StructuralPartialEq for GroupStanding
Auto Trait Implementations§
impl Freeze for GroupStanding
impl RefUnwindSafe for GroupStanding
impl Send for GroupStanding
impl Sync for GroupStanding
impl Unpin for GroupStanding
impl UnsafeUnpin for GroupStanding
impl UnwindSafe for GroupStanding
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