pub struct OperatorPendingLoginId(/* private fields */);Expand description
A correct operator password waiting for its passkey
(operator_pending_logins). The token lives in a cookie; the row
holds its hash (0.74)
Implementations§
Trait Implementations§
Source§impl Clone for OperatorPendingLoginId
impl Clone for OperatorPendingLoginId
impl Copy for OperatorPendingLoginId
Source§impl Debug for OperatorPendingLoginId
impl Debug for OperatorPendingLoginId
Source§impl Default for OperatorPendingLoginId
impl Default for OperatorPendingLoginId
Source§impl<'de> Deserialize<'de> for OperatorPendingLoginId
impl<'de> Deserialize<'de> for OperatorPendingLoginId
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OperatorPendingLoginId
impl Display for OperatorPendingLoginId
impl Eq for OperatorPendingLoginId
Source§impl From<OperatorPendingLoginId> for Uuid
impl From<OperatorPendingLoginId> for Uuid
Source§fn from(id: OperatorPendingLoginId) -> Self
fn from(id: OperatorPendingLoginId) -> Self
Converts to this type from the input type.
Source§impl From<Uuid> for OperatorPendingLoginId
impl From<Uuid> for OperatorPendingLoginId
Source§impl FromStr for OperatorPendingLoginId
Every id round-trips through its own Display.
impl FromStr for OperatorPendingLoginId
Every id round-trips through its own Display.
Without this, anything that parses an id from a string — clap
value_parsers, query strings, config files — has to widen the
field back to a bare Uuid at the boundary and convert by
hand, which is the exact laundering the newtype exists to
prevent. agora-cli carried a hand-written
parse_moderation_action_id for precisely this reason.
Source§impl Hash for OperatorPendingLoginId
impl Hash for OperatorPendingLoginId
Source§impl Ord for OperatorPendingLoginId
impl Ord for OperatorPendingLoginId
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for OperatorPendingLoginId
impl PartialEq for OperatorPendingLoginId
Source§impl PartialOrd for OperatorPendingLoginId
impl PartialOrd for OperatorPendingLoginId
Source§impl Serialize for OperatorPendingLoginId
impl Serialize for OperatorPendingLoginId
impl StructuralPartialEq for OperatorPendingLoginId
Auto Trait Implementations§
impl Freeze for OperatorPendingLoginId
impl RefUnwindSafe for OperatorPendingLoginId
impl Send for OperatorPendingLoginId
impl Sync for OperatorPendingLoginId
impl Unpin for OperatorPendingLoginId
impl UnsafeUnpin for OperatorPendingLoginId
impl UnwindSafe for OperatorPendingLoginId
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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, O> Matches<O> for Twhere
T: PartialEq<O>,
impl<T, O> Matches<O> for Twhere
T: PartialEq<O>,
fn validate_matches(&self, other: &O) -> bool
impl<T> PendingHandle for Twhere
T: Send + 'static,
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more