pub struct AuthPayload {
pub credential_id: Option<CredentialId>,
pub hrp: Option<String>,
pub extension: Option<PayloadExtension>,
}Expand description
Payload message used for telling which credential to use or how to modify it
Fields§
§credential_id: Option<CredentialId>Which credential to use if multiple are available
hrp: Option<String>Human readable prefix to use to derive an address
extension: Option<PayloadExtension>Additional arguments to pass depending on a credential in question
Trait Implementations§
Source§impl Clone for AuthPayload
impl Clone for AuthPayload
Source§fn clone(&self) -> AuthPayload
fn clone(&self) -> AuthPayload
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 AuthPayload
impl Debug for AuthPayload
Source§impl PartialEq for AuthPayload
impl PartialEq for AuthPayload
impl StructuralPartialEq for AuthPayload
Auto Trait Implementations§
impl Freeze for AuthPayload
impl RefUnwindSafe for AuthPayload
impl Send for AuthPayload
impl Sync for AuthPayload
impl Unpin for AuthPayload
impl UnwindSafe for AuthPayload
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