pub struct EventRankingExtraStatsInfoInner {
pub precision: f32,
pub name: String,
}Fields§
§precision: f32Integer expressing the number of digits of precision in the number provided in sort_orders.
name: StringName of the field used in the extra_stats array.
Implementations§
Source§impl EventRankingExtraStatsInfoInner
impl EventRankingExtraStatsInfoInner
pub fn new(precision: f32, name: String) -> EventRankingExtraStatsInfoInner
Trait Implementations§
Source§impl Clone for EventRankingExtraStatsInfoInner
impl Clone for EventRankingExtraStatsInfoInner
Source§fn clone(&self) -> EventRankingExtraStatsInfoInner
fn clone(&self) -> EventRankingExtraStatsInfoInner
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for EventRankingExtraStatsInfoInner
impl Default for EventRankingExtraStatsInfoInner
Source§fn default() -> EventRankingExtraStatsInfoInner
fn default() -> EventRankingExtraStatsInfoInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventRankingExtraStatsInfoInner
impl<'de> Deserialize<'de> for EventRankingExtraStatsInfoInner
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 EventRankingExtraStatsInfoInner
impl PartialEq for EventRankingExtraStatsInfoInner
Source§fn eq(&self, other: &EventRankingExtraStatsInfoInner) -> bool
fn eq(&self, other: &EventRankingExtraStatsInfoInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EventRankingExtraStatsInfoInner
Auto Trait Implementations§
impl Freeze for EventRankingExtraStatsInfoInner
impl RefUnwindSafe for EventRankingExtraStatsInfoInner
impl Send for EventRankingExtraStatsInfoInner
impl Sync for EventRankingExtraStatsInfoInner
impl Unpin for EventRankingExtraStatsInfoInner
impl UnwindSafe for EventRankingExtraStatsInfoInner
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