Struct EventInsights2016

Source
pub struct EventInsights2016 {
Show 24 fields pub low_bar: Vec<f32>, pub a_cheval_de_frise: Vec<f32>, pub a_portcullis: Vec<f32>, pub b_ramparts: Vec<f32>, pub b_moat: Vec<f32>, pub c_sally_port: Vec<f32>, pub c_drawbridge: Vec<f32>, pub d_rough_terrain: Vec<f32>, pub d_rock_wall: Vec<f32>, pub average_high_goals: f32, pub average_low_goals: f32, pub breaches: Vec<f32>, pub scales: Vec<f32>, pub challenges: Vec<f32>, pub captures: Vec<f32>, pub average_win_score: f32, pub average_win_margin: f32, pub average_score: f32, pub average_auto_score: f32, pub average_crossing_score: f32, pub average_boulder_score: f32, pub average_tower_score: f32, pub average_foul_score: f32, pub high_score: Vec<String>,
}
Expand description

EventInsights2016 : Insights for FIRST Stronghold qualification and elimination matches.

Fields§

§low_bar: Vec<f32>

For the Low Bar - An array with three values, number of times damaged, number of opportunities to damage, and percentage.

§a_cheval_de_frise: Vec<f32>

For the Cheval De Frise - An array with three values, number of times damaged, number of opportunities to damage, and percentage.

§a_portcullis: Vec<f32>

For the Portcullis - An array with three values, number of times damaged, number of opportunities to damage, and percentage.

§b_ramparts: Vec<f32>

For the Ramparts - An array with three values, number of times damaged, number of opportunities to damage, and percentage.

§b_moat: Vec<f32>

For the Moat - An array with three values, number of times damaged, number of opportunities to damage, and percentage.

§c_sally_port: Vec<f32>

For the Sally Port - An array with three values, number of times damaged, number of opportunities to damage, and percentage.

§c_drawbridge: Vec<f32>

For the Drawbridge - An array with three values, number of times damaged, number of opportunities to damage, and percentage.

§d_rough_terrain: Vec<f32>

For the Rough Terrain - An array with three values, number of times damaged, number of opportunities to damage, and percentage.

§d_rock_wall: Vec<f32>

For the Rock Wall - An array with three values, number of times damaged, number of opportunities to damage, and percentage.

§average_high_goals: f32

Average number of high goals scored.

§average_low_goals: f32

Average number of low goals scored.

§breaches: Vec<f32>

An array with three values, number of times breached, number of opportunities to breach, and percentage.

§scales: Vec<f32>

An array with three values, number of times scaled, number of opportunities to scale, and percentage.

§challenges: Vec<f32>

An array with three values, number of times challenged, number of opportunities to challenge, and percentage.

§captures: Vec<f32>

An array with three values, number of times captured, number of opportunities to capture, and percentage.

§average_win_score: f32

Average winning score.

§average_win_margin: f32

Average margin of victory.

§average_score: f32

Average total score.

§average_auto_score: f32

Average autonomous score.

§average_crossing_score: f32

Average crossing score.

§average_boulder_score: f32

Average boulder score.

§average_tower_score: f32

Average tower score.

§average_foul_score: f32

Average foul score.

§high_score: Vec<String>

An array with three values, high score, match key from the match with the high score, and the name of the match.

Implementations§

Source§

impl EventInsights2016

Source

pub fn new( low_bar: Vec<f32>, a_cheval_de_frise: Vec<f32>, a_portcullis: Vec<f32>, b_ramparts: Vec<f32>, b_moat: Vec<f32>, c_sally_port: Vec<f32>, c_drawbridge: Vec<f32>, d_rough_terrain: Vec<f32>, d_rock_wall: Vec<f32>, average_high_goals: f32, average_low_goals: f32, breaches: Vec<f32>, scales: Vec<f32>, challenges: Vec<f32>, captures: Vec<f32>, average_win_score: f32, average_win_margin: f32, average_score: f32, average_auto_score: f32, average_crossing_score: f32, average_boulder_score: f32, average_tower_score: f32, average_foul_score: f32, high_score: Vec<String>, ) -> EventInsights2016

Insights for FIRST Stronghold qualification and elimination matches.

Trait Implementations§

Source§

impl Clone for EventInsights2016

Source§

fn clone(&self) -> EventInsights2016

Returns a duplicate of the value. Read more
1.0.0 · Source§

const fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EventInsights2016

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for EventInsights2016

Source§

fn default() -> EventInsights2016

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for EventInsights2016

Source§

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 EventInsights2016

Source§

fn eq(&self, other: &EventInsights2016) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for EventInsights2016

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for EventInsights2016

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,