pub struct ReceiptSampleRequest {}Expand description
Op 13 request: trigger a sample-receipt print.
Trait Implementations§
Source§impl Clone for ReceiptSampleRequest
impl Clone for ReceiptSampleRequest
Source§fn clone(&self) -> ReceiptSampleRequest
fn clone(&self) -> ReceiptSampleRequest
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 ReceiptSampleRequest
impl Debug for ReceiptSampleRequest
Source§impl JsonSchema for ReceiptSampleRequest
impl JsonSchema for ReceiptSampleRequest
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Operation for ReceiptSampleRequest
impl Operation for ReceiptSampleRequest
Source§const CODE: OperationCode = OperationCode::ReceiptSample
const CODE: OperationCode = OperationCode::ReceiptSample
Wire-level operation code.
Source§type Response = EmptyResponse
type Response = EmptyResponse
Response type this operation expects back from the HDM.
Source§const USES_PASSWORD_KEY: bool = false
const USES_PASSWORD_KEY: bool = false
Whether this operation uses the password-derived key (
true) or the session key
(false). Per spec §4.4.3, only ops 1 and 2 use the password key.Source§const RESPONSE_IS_SECRET: bool = false
const RESPONSE_IS_SECRET: bool = false
Whether this operation’s response carries a secret (e.g. the session key from login) that
must never reach a log. When
true, the client redacts the decrypted payload from its trace
output. Defaults to false.Auto Trait Implementations§
impl Freeze for ReceiptSampleRequest
impl RefUnwindSafe for ReceiptSampleRequest
impl Send for ReceiptSampleRequest
impl Sync for ReceiptSampleRequest
impl Unpin for ReceiptSampleRequest
impl UnsafeUnpin for ReceiptSampleRequest
impl UnwindSafe for ReceiptSampleRequest
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