Struct webauthn_rs_core::proto::Base64UrlSafeData
source · pub struct Base64UrlSafeData(pub Vec<u8>);Expand description
A container for binary that should be base64 encoded in serialisation. In reverse when deserializing, will decode from many different types of base64 possible.
Tuple Fields§
§0: Vec<u8>Trait Implementations§
source§impl AsRef<[u8]> for Base64UrlSafeData
impl AsRef<[u8]> for Base64UrlSafeData
source§impl Borrow<[u8]> for Base64UrlSafeData
impl Borrow<[u8]> for Base64UrlSafeData
source§impl Clone for Base64UrlSafeData
impl Clone for Base64UrlSafeData
source§fn clone(&self) -> Base64UrlSafeData
fn clone(&self) -> Base64UrlSafeData
Returns a copy of the value. Read more
1.0.0 · 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 Base64UrlSafeData
impl Debug for Base64UrlSafeData
source§impl<'de> Deserialize<'de> for Base64UrlSafeData
impl<'de> Deserialize<'de> for Base64UrlSafeData
source§fn deserialize<D>(
deserializer: D
) -> Result<Base64UrlSafeData, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<Base64UrlSafeData, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for Base64UrlSafeData
impl Display for Base64UrlSafeData
source§impl<'a> From<&'a Base64UrlSafeData> for &'a ChallengeRef
impl<'a> From<&'a Base64UrlSafeData> for &'a ChallengeRef
source§fn from(d: &'a Base64UrlSafeData) -> Self
fn from(d: &'a Base64UrlSafeData) -> Self
Converts to this type from the input type.
source§impl From<Base64UrlSafeData> for Challenge
impl From<Base64UrlSafeData> for Challenge
source§fn from(d: Base64UrlSafeData) -> Self
fn from(d: Base64UrlSafeData) -> Self
Converts to this type from the input type.
source§impl From<Challenge> for Base64UrlSafeData
impl From<Challenge> for Base64UrlSafeData
source§impl Hash for Base64UrlSafeData
impl Hash for Base64UrlSafeData
source§impl Ord for Base64UrlSafeData
impl Ord for Base64UrlSafeData
source§fn cmp(&self, other: &Base64UrlSafeData) -> Ordering
fn cmp(&self, other: &Base64UrlSafeData) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Base64UrlSafeData
impl PartialEq for Base64UrlSafeData
source§fn eq(&self, other: &Base64UrlSafeData) -> bool
fn eq(&self, other: &Base64UrlSafeData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for Base64UrlSafeData
impl PartialOrd for Base64UrlSafeData
source§fn partial_cmp(&self, other: &Base64UrlSafeData) -> Option<Ordering>
fn partial_cmp(&self, other: &Base64UrlSafeData) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for Base64UrlSafeData
impl Serialize for Base64UrlSafeData
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TryFrom<&str> for Base64UrlSafeData
impl TryFrom<&str> for Base64UrlSafeData
impl Eq for Base64UrlSafeData
impl StructuralEq for Base64UrlSafeData
impl StructuralPartialEq for Base64UrlSafeData
Auto Trait Implementations§
impl RefUnwindSafe for Base64UrlSafeData
impl Send for Base64UrlSafeData
impl Sync for Base64UrlSafeData
impl Unpin for Base64UrlSafeData
impl UnwindSafe for Base64UrlSafeData
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere T: AsRef<[u8]>,
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)