Struct webauthn_rs::prelude::Base64UrlSafeData
source · [−]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, Global>
Trait Implementations
sourceimpl AsRef<[u8]> for Base64UrlSafeData
impl AsRef<[u8]> for Base64UrlSafeData
sourceimpl Clone for Base64UrlSafeData
impl Clone for Base64UrlSafeData
sourcefn clone(&self) -> Base64UrlSafeData
fn clone(&self) -> Base64UrlSafeData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Base64UrlSafeData
impl Debug for Base64UrlSafeData
sourceimpl<'de> Deserialize<'de> for Base64UrlSafeData
impl<'de> Deserialize<'de> for Base64UrlSafeData
sourcefn 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
sourceimpl Display for Base64UrlSafeData
impl Display for Base64UrlSafeData
sourceimpl From<Challenge> for Base64UrlSafeData
impl From<Challenge> for Base64UrlSafeData
sourcefn from(chal: Challenge) -> Base64UrlSafeData
fn from(chal: Challenge) -> Base64UrlSafeData
Converts to this type from the input type.
sourceimpl PartialEq<Base64UrlSafeData> for Base64UrlSafeData
impl PartialEq<Base64UrlSafeData> for Base64UrlSafeData
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &Base64UrlSafeData) -> bool
fn ne(&self, other: &Base64UrlSafeData) -> bool
This method tests for !=
.
sourceimpl Serialize for Base64UrlSafeData
impl Serialize for Base64UrlSafeData
sourcefn 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
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more