EventInsights2018

Struct EventInsights2018 

Source
pub struct EventInsights2018 {
Show 37 fields pub auto_quest_achieved: Vec<f32>, pub average_boost_played: f32, pub average_endgame_points: f32, pub average_force_played: f32, pub average_foul_score: f32, pub average_points_auto: f32, pub average_points_teleop: f32, pub average_run_points_auto: f32, pub average_scale_ownership_points: f32, pub average_scale_ownership_points_auto: f32, pub average_scale_ownership_points_teleop: f32, pub average_score: f32, pub average_switch_ownership_points: f32, pub average_switch_ownership_points_auto: f32, pub average_switch_ownership_points_teleop: f32, pub average_vault_points: f32, pub average_win_margin: f32, pub average_win_score: f32, pub boost_played_counts: Vec<f32>, pub climb_counts: Vec<f32>, pub face_the_boss_achieved: Vec<f32>, pub force_played_counts: Vec<f32>, pub high_score: Vec<String>, pub levitate_played_counts: Vec<f32>, pub run_counts_auto: Vec<f32>, pub scale_neutral_percentage: f32, pub scale_neutral_percentage_auto: f32, pub scale_neutral_percentage_teleop: f32, pub switch_owned_counts_auto: Vec<f32>, pub unicorn_matches: Vec<f32>, pub winning_opp_switch_denial_percentage_teleop: f32, pub winning_own_switch_ownership_percentage: f32, pub winning_own_switch_ownership_percentage_auto: f32, pub winning_own_switch_ownership_percentage_teleop: f32, pub winning_scale_ownership_percentage: f32, pub winning_scale_ownership_percentage_auto: f32, pub winning_scale_ownership_percentage_teleop: f32,
}
Expand description

EventInsights2018 : Insights for FIRST Power Up qualification and elimination matches.

Fields§

§auto_quest_achieved: Vec<f32>

An array with three values, number of times auto quest was completed, number of opportunities to complete the auto quest, and percentage.

§average_boost_played: f32

Average number of boost power up scored (out of 3).

§average_endgame_points: f32

Average endgame points.

§average_force_played: f32

Average number of force power up scored (out of 3).

§average_foul_score: f32

Average foul score.

§average_points_auto: f32

Average points scored during auto.

§average_points_teleop: f32

Average points scored during teleop.

§average_run_points_auto: f32

Average mobility points scored during auto.

§average_scale_ownership_points: f32

Average scale ownership points scored.

§average_scale_ownership_points_auto: f32

Average scale ownership points scored during auto.

§average_scale_ownership_points_teleop: f32

Average scale ownership points scored during teleop.

§average_score: f32

Average score.

§average_switch_ownership_points: f32

Average switch ownership points scored.

§average_switch_ownership_points_auto: f32

Average switch ownership points scored during auto.

§average_switch_ownership_points_teleop: f32

Average switch ownership points scored during teleop.

§average_vault_points: f32

Average value points scored.

§average_win_margin: f32

Average margin of victory.

§average_win_score: f32

Average winning score.

§boost_played_counts: Vec<f32>

An array with three values, number of times a boost power up was played, number of opportunities to play a boost power up, and percentage.

§climb_counts: Vec<f32>

An array with three values, number of times a climb occurred, number of opportunities to climb, and percentage.

§face_the_boss_achieved: Vec<f32>

An array with three values, number of times an alliance faced the boss, number of opportunities to face the boss, and percentage.

§force_played_counts: Vec<f32>

An array with three values, number of times a force power up was played, number of opportunities to play a force power up, and percentage.

§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

§levitate_played_counts: Vec<f32>

An array with three values, number of times a levitate power up was played, number of opportunities to play a levitate power up, and percentage.

§run_counts_auto: Vec<f32>

An array with three values, number of times a team scored mobility points in auto, number of opportunities to score mobility points in auto, and percentage.

§scale_neutral_percentage: f32

Average scale neutral percentage.

§scale_neutral_percentage_auto: f32

Average scale neutral percentage during auto.

§scale_neutral_percentage_teleop: f32

Average scale neutral percentage during teleop.

§switch_owned_counts_auto: Vec<f32>

An array with three values, number of times a switch was owned during auto, number of opportunities to own a switch during auto, and percentage.

§unicorn_matches: Vec<f32>

An array with three values, number of times a unicorn match (Win + Auto Quest + Face the Boss) occurred, number of opportunities to have a unicorn match, and percentage.

§winning_opp_switch_denial_percentage_teleop: f32

Average opposing switch denail percentage for the winning alliance during teleop.

§winning_own_switch_ownership_percentage: f32

Average own switch ownership percentage for the winning alliance.

§winning_own_switch_ownership_percentage_auto: f32

Average own switch ownership percentage for the winning alliance during auto.

§winning_own_switch_ownership_percentage_teleop: f32

Average own switch ownership percentage for the winning alliance during teleop.

§winning_scale_ownership_percentage: f32

Average scale ownership percentage for the winning alliance.

§winning_scale_ownership_percentage_auto: f32

Average scale ownership percentage for the winning alliance during auto.

§winning_scale_ownership_percentage_teleop: f32

Average scale ownership percentage for the winning alliance during teleop.

Implementations§

Source§

impl EventInsights2018

Source

pub fn new( auto_quest_achieved: Vec<f32>, average_boost_played: f32, average_endgame_points: f32, average_force_played: f32, average_foul_score: f32, average_points_auto: f32, average_points_teleop: f32, average_run_points_auto: f32, average_scale_ownership_points: f32, average_scale_ownership_points_auto: f32, average_scale_ownership_points_teleop: f32, average_score: f32, average_switch_ownership_points: f32, average_switch_ownership_points_auto: f32, average_switch_ownership_points_teleop: f32, average_vault_points: f32, average_win_margin: f32, average_win_score: f32, boost_played_counts: Vec<f32>, climb_counts: Vec<f32>, face_the_boss_achieved: Vec<f32>, force_played_counts: Vec<f32>, high_score: Vec<String>, levitate_played_counts: Vec<f32>, run_counts_auto: Vec<f32>, scale_neutral_percentage: f32, scale_neutral_percentage_auto: f32, scale_neutral_percentage_teleop: f32, switch_owned_counts_auto: Vec<f32>, unicorn_matches: Vec<f32>, winning_opp_switch_denial_percentage_teleop: f32, winning_own_switch_ownership_percentage: f32, winning_own_switch_ownership_percentage_auto: f32, winning_own_switch_ownership_percentage_teleop: f32, winning_scale_ownership_percentage: f32, winning_scale_ownership_percentage_auto: f32, winning_scale_ownership_percentage_teleop: f32, ) -> EventInsights2018

Insights for FIRST Power Up qualification and elimination matches.

Trait Implementations§

Source§

impl Clone for EventInsights2018

Source§

fn clone(&self) -> EventInsights2018

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

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

Performs copy-assignment from source. Read more
Source§

impl Debug for EventInsights2018

Source§

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

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

impl Default for EventInsights2018

Source§

fn default() -> EventInsights2018

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

impl<'de> Deserialize<'de> for EventInsights2018

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 EventInsights2018

Source§

fn eq(&self, other: &EventInsights2018) -> 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 EventInsights2018

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 EventInsights2018

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,