pub struct CardResponseV1 {
pub schema_version: u32,
pub kind: &'static str,
pub zero_distance: f64,
pub bc_for_solve: f64,
pub units: CardUnitsBlockV1,
pub wind_speeds: Vec<f64>,
pub wind_angles_deg: Vec<f64>,
pub rows: Vec<CardRowV1>,
pub extra_angle_rows: Vec<Vec<CardRowV1>>,
}Fields§
§schema_version: u32§kind: &'static str§zero_distance: f64§bc_for_solve: f64The scalar BC these rows were actually computed with: the request’s published
ballistic_coefficient unless a bc5d_table_path applied its muzzle correction, in
which case it is the corrected value (the same scalar the solve and every sampled
flight ran with).
A saved card must be able to state the BC its numbers came from — the printed
footer’s BC: — long after the correction table it used has been replaced on disk.
Without this on the response there is nothing for an app to store, and a reprint
could only quote the BC the request nominated.
units: CardUnitsBlockV1§wind_speeds: Vec<f64>Wind card only: the swept speeds, one per wind_columns entry.
wind_angles_deg: Vec<f64>Wind card only: one block of rows per wind angle.
rows: Vec<CardRowV1>§extra_angle_rows: Vec<Vec<CardRowV1>>Wind card with multiple angles: rows for angles beyond the first.
Trait Implementations§
Source§impl Clone for CardResponseV1
impl Clone for CardResponseV1
Source§fn clone(&self) -> CardResponseV1
fn clone(&self) -> CardResponseV1
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 CardResponseV1
impl Debug for CardResponseV1
Auto Trait Implementations§
impl Freeze for CardResponseV1
impl RefUnwindSafe for CardResponseV1
impl Send for CardResponseV1
impl Sync for CardResponseV1
impl Unpin for CardResponseV1
impl UnsafeUnpin for CardResponseV1
impl UnwindSafe for CardResponseV1
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.