pub struct TestPrintRequest {Show 20 fields
pub printer_info: PrintJobRequest,
pub include_text: bool,
pub include_custom_text: bool,
pub custom_text: Option<String>,
pub include_text_styles: bool,
pub include_alignment: bool,
pub include_columns: bool,
pub include_separators: bool,
pub include_barcode: bool,
pub include_barcode_types: bool,
pub include_qr: bool,
pub include_image: bool,
pub image_base64: Option<String>,
pub include_beep: bool,
pub test_cash_drawer: bool,
pub cut_paper: bool,
pub test_feed: bool,
pub test_all_fonts: bool,
pub test_invert: bool,
pub test_rotate: bool,
}Fields§
§printer_info: PrintJobRequest§include_text: bool§include_custom_text: bool§custom_text: Option<String>§include_text_styles: bool§include_alignment: bool§include_columns: bool§include_separators: bool§include_barcode: bool§include_barcode_types: bool§include_qr: bool§include_image: bool§image_base64: Option<String>§include_beep: bool§test_cash_drawer: bool§cut_paper: bool§test_feed: bool§test_all_fonts: bool§test_invert: bool§test_rotate: boolTrait Implementations§
Source§impl Clone for TestPrintRequest
impl Clone for TestPrintRequest
Source§fn clone(&self) -> TestPrintRequest
fn clone(&self) -> TestPrintRequest
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 TestPrintRequest
impl Debug for TestPrintRequest
Source§impl<'de> Deserialize<'de> for TestPrintRequest
impl<'de> Deserialize<'de> for TestPrintRequest
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
Auto Trait Implementations§
impl Freeze for TestPrintRequest
impl RefUnwindSafe for TestPrintRequest
impl Send for TestPrintRequest
impl Sync for TestPrintRequest
impl Unpin for TestPrintRequest
impl UnsafeUnpin for TestPrintRequest
impl UnwindSafe for TestPrintRequest
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<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
Source§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more