pub enum BearerAuthRequestWire {
V1(BearerAuthRequestWireV1),
V2(BearerAuthRequestWireV2),
}Expand description
A client’s request for a new BearerAuthToken.
This is the over-the-wire BCS-serializable representation structured for backwards compatibility.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for BearerAuthRequestWire
impl Clone for BearerAuthRequestWire
Source§fn clone(&self) -> BearerAuthRequestWire
fn clone(&self) -> BearerAuthRequestWire
Returns a duplicate 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 BearerAuthRequestWire
impl Debug for BearerAuthRequestWire
Source§impl<'de> Deserialize<'de> for BearerAuthRequestWire
impl<'de> Deserialize<'de> for BearerAuthRequestWire
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
Source§impl From<BearerAuthRequest> for BearerAuthRequestWire
impl From<BearerAuthRequest> for BearerAuthRequestWire
Source§fn from(req: BearerAuthRequest) -> Self
fn from(req: BearerAuthRequest) -> Self
Converts to this type from the input type.
Source§impl From<BearerAuthRequestWire> for BearerAuthRequest
impl From<BearerAuthRequestWire> for BearerAuthRequest
Source§fn from(wire: BearerAuthRequestWire) -> Self
fn from(wire: BearerAuthRequestWire) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BearerAuthRequestWire
impl PartialEq for BearerAuthRequestWire
Source§impl Serialize for BearerAuthRequestWire
impl Serialize for BearerAuthRequestWire
Source§impl Signable for BearerAuthRequestWire
impl Signable for BearerAuthRequestWire
Source§const DOMAIN_SEPARATOR: [u8; 32]
const DOMAIN_SEPARATOR: [u8; 32]
Implementors will only need to fill in this value. An example is
array::pad(*b"LEXE-REALM::RootSeed"), used in the RootSeed.impl Eq for BearerAuthRequestWire
impl StructuralPartialEq for BearerAuthRequestWire
Auto Trait Implementations§
impl Freeze for BearerAuthRequestWire
impl RefUnwindSafe for BearerAuthRequestWire
impl Send for BearerAuthRequestWire
impl Sync for BearerAuthRequestWire
impl Unpin for BearerAuthRequestWire
impl UnsafeUnpin for BearerAuthRequestWire
impl UnwindSafe for BearerAuthRequestWire
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