pub struct ReceiptLine {
pub text: String,
}Expand description
A single receipt line streamed by the terminal (S message) when ECR printing is on.
Fields§
§text: StringReceipt line text.
Trait Implementations§
Source§impl Clone for ReceiptLine
impl Clone for ReceiptLine
Source§fn clone(&self) -> ReceiptLine
fn clone(&self) -> ReceiptLine
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 ReceiptLine
impl Debug for ReceiptLine
Source§impl<'de> Deserialize<'de> for ReceiptLine
impl<'de> Deserialize<'de> for ReceiptLine
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 Eq for ReceiptLine
Source§impl PartialEq for ReceiptLine
impl PartialEq for ReceiptLine
Source§impl Serialize for ReceiptLine
impl Serialize for ReceiptLine
impl StructuralPartialEq for ReceiptLine
Auto Trait Implementations§
impl Freeze for ReceiptLine
impl RefUnwindSafe for ReceiptLine
impl Send for ReceiptLine
impl Sync for ReceiptLine
impl Unpin for ReceiptLine
impl UnsafeUnpin for ReceiptLine
impl UnwindSafe for ReceiptLine
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