pub struct DateTimeEnq {
pub response_interval: u8,
}Expand description
date_time_enq() — Date-Time Enquiry (Table 31).
Fields§
§response_interval: u8response_interval — if 0, the host replies once; otherwise it replies
immediately then every response_interval seconds.
Trait Implementations§
Source§impl ApduDef<'_> for DateTimeEnq
impl ApduDef<'_> for DateTimeEnq
Source§impl Clone for DateTimeEnq
impl Clone for DateTimeEnq
Source§fn clone(&self) -> DateTimeEnq
fn clone(&self) -> DateTimeEnq
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 moreimpl Copy for DateTimeEnq
Source§impl Debug for DateTimeEnq
impl Debug for DateTimeEnq
Source§impl Default for DateTimeEnq
impl Default for DateTimeEnq
Source§fn default() -> DateTimeEnq
fn default() -> DateTimeEnq
Returns the “default value” for a type. Read more
impl Eq for DateTimeEnq
Source§impl<'a> From<DateTimeEnq> for AnyApdu<'a>
impl<'a> From<DateTimeEnq> for AnyApdu<'a>
Source§fn from(v: DateTimeEnq) -> Self
fn from(v: DateTimeEnq) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for DateTimeEnq
impl<'a> Parse<'a> for DateTimeEnq
Source§impl PartialEq for DateTimeEnq
impl PartialEq for DateTimeEnq
Source§fn eq(&self, other: &DateTimeEnq) -> bool
fn eq(&self, other: &DateTimeEnq) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DateTimeEnq
impl Serialize for DateTimeEnq
Source§impl Serialize for DateTimeEnq
impl Serialize for DateTimeEnq
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for DateTimeEnq
Auto Trait Implementations§
impl Freeze for DateTimeEnq
impl RefUnwindSafe for DateTimeEnq
impl Send for DateTimeEnq
impl Sync for DateTimeEnq
impl Unpin for DateTimeEnq
impl UnsafeUnpin for DateTimeEnq
impl UnwindSafe for DateTimeEnq
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