pub struct Http2CheckResult {
pub kind: Http2CheckKind,
pub matched: bool,
pub score: f64,
pub observed_count: usize,
pub expected_count: usize,
pub position_match_ratio: f64,
}Expand description
Per-check result attached to a TransportCompatibility.
Fields§
§kind: Http2CheckKindWhich check was evaluated.
matched: booltrue when the observation matched the reference.
score: f64Sub-score in [0.0, 1.0]. 0.0 when the observation was not
supplied.
observed_count: usizeNumber of items (settings / pseudo-headers / headers) the observation supplied.
expected_count: usizeNumber of items the reference carried.
position_match_ratio: f64Stable position-match ratio in [0.0, 1.0].
Trait Implementations§
Source§impl Clone for Http2CheckResult
impl Clone for Http2CheckResult
Source§fn clone(&self) -> Http2CheckResult
fn clone(&self) -> Http2CheckResult
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 Debug for Http2CheckResult
impl Debug for Http2CheckResult
Source§impl<'de> Deserialize<'de> for Http2CheckResult
impl<'de> Deserialize<'de> for Http2CheckResult
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 Http2CheckResult
impl PartialEq for Http2CheckResult
Source§impl Serialize for Http2CheckResult
impl Serialize for Http2CheckResult
impl StructuralPartialEq for Http2CheckResult
Auto Trait Implementations§
impl Freeze for Http2CheckResult
impl RefUnwindSafe for Http2CheckResult
impl Send for Http2CheckResult
impl Sync for Http2CheckResult
impl Unpin for Http2CheckResult
impl UnsafeUnpin for Http2CheckResult
impl UnwindSafe for Http2CheckResult
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