pub struct QueryDelta {
pub query_id: String,
pub current: f64,
pub baseline: f64,
pub delta: f64,
}Expand description
Per-query score change for a single metric, produced by
MultiReport::diff.
Fields§
§query_id: StringGold-query identifier.
current: f64Score on the current report.
baseline: f64Score on the baseline report.
delta: f64current - baseline.
Trait Implementations§
Source§impl Clone for QueryDelta
impl Clone for QueryDelta
Source§fn clone(&self) -> QueryDelta
fn clone(&self) -> QueryDelta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QueryDelta
impl Debug for QueryDelta
Source§impl<'de> Deserialize<'de> for QueryDelta
impl<'de> Deserialize<'de> for QueryDelta
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
Auto Trait Implementations§
impl Freeze for QueryDelta
impl RefUnwindSafe for QueryDelta
impl Send for QueryDelta
impl Sync for QueryDelta
impl Unpin for QueryDelta
impl UnsafeUnpin for QueryDelta
impl UnwindSafe for QueryDelta
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