pub struct ChallengeRequest {
pub method: Option<String>,
pub name: Option<String>,
pub peer: Option<String>,
}Expand description
What a consumer asks a Challenger for.
Debug shows the method only.
Fields§
§method: Option<String>The methods word the challenge is for; None is the provider’s own.
name: Option<String>The account an earlier step named, when one did; None asks for any of the provider’s
accounts (a usernameless sign-in).
peer: Option<String>The remote peer’s address, so a provider can bound the challenges one source holds.
Trait Implementations§
Source§impl Clone for ChallengeRequest
impl Clone for ChallengeRequest
Source§impl Debug for ChallengeRequest
impl Debug for ChallengeRequest
Source§impl Default for ChallengeRequest
impl Default for ChallengeRequest
impl Eq for ChallengeRequest
Source§impl FromValue for ChallengeRequest
impl FromValue for ChallengeRequest
Source§const KINDS: Kinds = ::guatiao::Kinds::MAP
const KINDS: Kinds = ::guatiao::Kinds::MAP
The kinds
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.Source§fn from_value(__value: &Value) -> Result<Self, MapError>
fn from_value(__value: &Value) -> Result<Self, MapError>
Performs the conversion. Read more
Source§impl FromWalk for ChallengeRequest
impl FromWalk for ChallengeRequest
Source§impl MapRead for ChallengeRequest
impl MapRead for ChallengeRequest
Source§impl PartialEq for ChallengeRequest
impl PartialEq for ChallengeRequest
Source§impl Schema for ChallengeRequest
impl Schema for ChallengeRequest
impl StructuralPartialEq for ChallengeRequest
Source§impl ToValue for ChallengeRequest
impl ToValue for ChallengeRequest
Auto Trait Implementations§
impl Freeze for ChallengeRequest
impl RefUnwindSafe for ChallengeRequest
impl Send for ChallengeRequest
impl Sync for ChallengeRequest
impl Unpin for ChallengeRequest
impl UnsafeUnpin for ChallengeRequest
impl UnwindSafe for ChallengeRequest
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