#[non_exhaustive]pub struct Gap {
pub case: String,
pub reason: String,
pub refusal: String,
pub mach: f64,
pub metric_count: usize,
}Expand description
A case that ran into a limit of hpr’s it declares in writing (crate::Case::known_gap): it
was flown, hpr refused it as the case said it would, and none of its metrics was scored.
It is not a pass and not a quiet omission. The report prints it in a section of its own, with the case’s reason and hpr’s refusal, and the summary counts it apart.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.case: StringThe case’s id.
reason: StringThe case’s written reason.
refusal: StringWhat hpr said when it refused the flight.
mach: f64The Mach number hpr refused.
metric_count: usizeHow many metrics the case would have scored, with the tolerances they will be held to.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Gap
impl<'de> Deserialize<'de> for Gap
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
impl StructuralPartialEq for Gap
Auto Trait Implementations§
impl Freeze for Gap
impl RefUnwindSafe for Gap
impl Send for Gap
impl Sync for Gap
impl Unpin for Gap
impl UnsafeUnpin for Gap
impl UnwindSafe for Gap
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