#[non_exhaustive]pub struct Request<'a> {
pub pin_protocol: Option<u8>,
pub sub_command: PinV1Subcommand,
pub key_agreement: Option<EcdhEsHkdf256PublicKey>,
pub pin_auth: Option<&'a Bytes>,
pub new_pin_enc: Option<&'a Bytes>,
pub pin_hash_enc: Option<&'a Bytes>,
pub permissions: Option<u8>,
pub rp_id: Option<&'a str>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.pin_protocol: Option<u8>
§sub_command: PinV1Subcommand
§key_agreement: Option<EcdhEsHkdf256PublicKey>
§pin_auth: Option<&'a Bytes>
§new_pin_enc: Option<&'a Bytes>
§pin_hash_enc: Option<&'a Bytes>
§permissions: Option<u8>
§rp_id: Option<&'a str>
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Request<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Request<'a>
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
impl<'a> Eq for Request<'a>
impl<'a> StructuralPartialEq for Request<'a>
Auto Trait Implementations§
impl<'a> Freeze for Request<'a>
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> Send for Request<'a>
impl<'a> Sync for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnwindSafe for Request<'a>
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