pub struct StoredCardTruncationV1 {
pub requested_end: f64,
pub last_row: f64,
pub reach: f64,
}Expand description
The truncation block of a stored response (see CardTruncationV1, which this mirrors).
All three numbers are REQUIRED, unlike the descriptive scalars elsewhere in a stored card: they are printed together as one sentence, and a block missing one of them would print “TRUNCATED at 0 yd” on a field card. A card that was not truncated omits the whole block, which is the only shape that means “nothing to say”.
Fields§
§requested_end: f64§last_row: f64§reach: f64Trait Implementations§
Source§impl Clone for StoredCardTruncationV1
impl Clone for StoredCardTruncationV1
Source§fn clone(&self) -> StoredCardTruncationV1
fn clone(&self) -> StoredCardTruncationV1
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 StoredCardTruncationV1
impl Debug for StoredCardTruncationV1
Source§impl<'de> Deserialize<'de> for StoredCardTruncationV1
impl<'de> Deserialize<'de> for StoredCardTruncationV1
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 From<StoredCardTruncationV1> for CardTruncationV1
Available on crate feature pdf only.
impl From<StoredCardTruncationV1> for CardTruncationV1
Available on crate feature
pdf only.Source§fn from(stored: StoredCardTruncationV1) -> Self
fn from(stored: StoredCardTruncationV1) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StoredCardTruncationV1
impl PartialEq for StoredCardTruncationV1
impl Copy for StoredCardTruncationV1
impl StructuralPartialEq for StoredCardTruncationV1
Auto Trait Implementations§
impl Freeze for StoredCardTruncationV1
impl RefUnwindSafe for StoredCardTruncationV1
impl Send for StoredCardTruncationV1
impl Sync for StoredCardTruncationV1
impl Unpin for StoredCardTruncationV1
impl UnwindSafe for StoredCardTruncationV1
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,
§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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§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).§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.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.