pub struct DateTimeRequest {}Expand description
Op 12 request: query the device’s current date and time.
Trait Implementations§
Source§impl Clone for DateTimeRequest
impl Clone for DateTimeRequest
Source§fn clone(&self) -> DateTimeRequest
fn clone(&self) -> DateTimeRequest
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 DateTimeRequest
impl Debug for DateTimeRequest
Source§impl JsonSchema for DateTimeRequest
impl JsonSchema for DateTimeRequest
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 DateTimeRequest
impl Operation for DateTimeRequest
Source§const CODE: OperationCode = OperationCode::DateTime
const CODE: OperationCode = OperationCode::DateTime
Wire-level operation code.
Source§type Response = DateTimeResponse
type Response = DateTimeResponse
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 DateTimeRequest
impl RefUnwindSafe for DateTimeRequest
impl Send for DateTimeRequest
impl Sync for DateTimeRequest
impl Unpin for DateTimeRequest
impl UnsafeUnpin for DateTimeRequest
impl UnwindSafe for DateTimeRequest
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