pub struct Zebra {
pub key: String,
pub times: Vec<f64>,
pub alliances: Box<ZebraAlliances>,
}
Fields§
§key: String
TBA match key with the format yyyy[EVENT_CODE]_[COMP_LEVEL]m[MATCH_NUMBER]
, where yyyy
is the year, and EVENT_CODE
is the event code of the event, COMP_LEVEL
is (qm, ef, qf, sf, f), and MATCH_NUMBER
is the match number in the competition level. A set number may be appended to the competition level if more than one match in required per set.
times: Vec<f64>
A list of relative timestamps for each data point. Each timestamp will correspond to the X and Y value at the same index in a team xs and ys arrays. times
, all teams xs
and all teams ys
are guarenteed to be the same length.
alliances: Box<ZebraAlliances>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Zebra
impl<'de> Deserialize<'de> for Zebra
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 StructuralPartialEq for Zebra
Auto Trait Implementations§
impl Freeze for Zebra
impl RefUnwindSafe for Zebra
impl Send for Zebra
impl Sync for Zebra
impl Unpin for Zebra
impl UnwindSafe for Zebra
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