pub struct PxpQrCode {
pub public_key: ByteArray<33>,
pub qr_secret: ByteArray<16>,
pub known_tunnel_domains_count: u8,
pub current_time: Option<u64>,
pub state_assisted: Option<bool>,
pub operation_hint: QrCodeOperationHint,
/* private fields */
}Fields§
§public_key: ByteArray<33>§qr_secret: ByteArray<16>§known_tunnel_domains_count: u8Key 2: the number of assigned tunnel server domains known to this implementation.
current_time: Option<u64>Key 3: (optional) the current time in epoch seconds.
state_assisted: Option<bool>Key 4: (optional) a boolean that is true if the device displaying the QR code can perform state- assisted transactions.
operation_hint: QrCodeOperationHintKey 5: either the string “ga” to hint that a getAssertion will follow, or “mc” to hint that a makeCredential will follow. Implementations SHOULD treat unknown values as if they were “ga”. This field exists so that guidance can be given to the user immediately upon scanning the QR code, prior to the authenticator receiving any CTAP message. While this hint SHOULD be as accurate as possible, it does not constrain the subsequent CTAP messages that the platform may send.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PxpQrCode
impl RefUnwindSafe for PxpQrCode
impl Send for PxpQrCode
impl Sync for PxpQrCode
impl Unpin for PxpQrCode
impl UnsafeUnpin for PxpQrCode
impl UnwindSafe for PxpQrCode
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