pub struct StoredCardV1 {
pub card: StoredCardResponseV1,
pub engine_version: Option<String>,
pub bc5d_table_version: Option<String>,
}Expand description
A card whose rows already exist: print THESE numbers instead of solving.
card is the stored card.range_table response, pasted verbatim — an app keeps that
document for every saved card and shows it on screen, so handing the same bytes back is
what makes the paper and the screen the same card by construction rather than by
coincidence. The two provenance strings are printed in the footer so a card in a
shooter’s pocket can be reconciled with a screen afterwards; both are optional, and an
absent or empty one prints nothing at all rather than a placeholder.
Fields§
§card: StoredCardResponseV1The stored response, exactly as this engine emitted it.
engine_version: Option<String>Engine version that produced the rows (engine_version from the bridge envelope of
the call that produced them). Absent/empty prints no engine line.
bc5d_table_version: Option<String>Correction-table version the rows were solved against — the published BC5D table-set version an app records at save time. Absent/empty prints no table line, which is the honest rendering of “this card used no correction table”.
Trait Implementations§
Source§impl Clone for StoredCardV1
impl Clone for StoredCardV1
Source§fn clone(&self) -> StoredCardV1
fn clone(&self) -> StoredCardV1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StoredCardV1
impl Debug for StoredCardV1
Source§impl Default for StoredCardV1
impl Default for StoredCardV1
Source§fn default() -> StoredCardV1
fn default() -> StoredCardV1
Source§impl<'de> Deserialize<'de> for StoredCardV1
impl<'de> Deserialize<'de> for StoredCardV1
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>,
Source§impl PartialEq for StoredCardV1
impl PartialEq for StoredCardV1
impl StructuralPartialEq for StoredCardV1
Auto Trait Implementations§
impl Freeze for StoredCardV1
impl RefUnwindSafe for StoredCardV1
impl Send for StoredCardV1
impl Sync for StoredCardV1
impl Unpin for StoredCardV1
impl UnwindSafe for StoredCardV1
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.