pub struct EventDistrictPoints {
pub points: HashMap<String, EventDistrictPointsPointsValue>,
pub tiebreakers: Option<HashMap<String, EventDistrictPointsTiebreakersValue>>,
}
Fields§
§points: HashMap<String, EventDistrictPointsPointsValue>
Points gained for each team at the event. Stored as a key-value pair with the team key as the key, and an object describing the points as its value.
tiebreakers: Option<HashMap<String, EventDistrictPointsTiebreakersValue>>
Tiebreaker values for each team at the event. Stored as a key-value pair with the team key as the key, and an object describing the tiebreaker elements as its value.
Implementations§
Source§impl EventDistrictPoints
impl EventDistrictPoints
pub fn new( points: HashMap<String, EventDistrictPointsPointsValue>, ) -> EventDistrictPoints
Trait Implementations§
Source§impl Clone for EventDistrictPoints
impl Clone for EventDistrictPoints
Source§fn clone(&self) -> EventDistrictPoints
fn clone(&self) -> EventDistrictPoints
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EventDistrictPoints
impl Debug for EventDistrictPoints
Source§impl Default for EventDistrictPoints
impl Default for EventDistrictPoints
Source§fn default() -> EventDistrictPoints
fn default() -> EventDistrictPoints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventDistrictPoints
impl<'de> Deserialize<'de> for EventDistrictPoints
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
Source§impl PartialEq for EventDistrictPoints
impl PartialEq for EventDistrictPoints
Source§impl Serialize for EventDistrictPoints
impl Serialize for EventDistrictPoints
impl StructuralPartialEq for EventDistrictPoints
Auto Trait Implementations§
impl Freeze for EventDistrictPoints
impl RefUnwindSafe for EventDistrictPoints
impl Send for EventDistrictPoints
impl Sync for EventDistrictPoints
impl Unpin for EventDistrictPoints
impl UnwindSafe for EventDistrictPoints
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