pub struct AuthBlockSignature {
pub family: AuthBlockFamily,
pub confidence: AuthBlockConfidence,
pub status: u16,
pub credential_state: CredentialBlockKind,
pub challenge: Option<AuthChallenge>,
pub body_signal: Option<AuthErrorBodySignal>,
pub login_redirect: Option<LoginRedirectSignal>,
}Expand description
Classified auth-block signature on a single response.
Fields§
§family: AuthBlockFamilyFamily of auth involvement.
confidence: AuthBlockConfidenceConfidence in the classification.
status: u16HTTP status code on the response.
credential_state: CredentialBlockKindWhy the credential failed or was not provided.
challenge: Option<AuthChallenge>Parsed challenge from WWW-Authenticate or Proxy-Authenticate, if present.
body_signal: Option<AuthErrorBodySignal>Parsed auth-error from the response body, if present.
login_redirect: Option<LoginRedirectSignal>Login-redirect signal, populated when family is LoginRedirect.
Trait Implementations§
Source§impl Clone for AuthBlockSignature
impl Clone for AuthBlockSignature
Source§fn clone(&self) -> AuthBlockSignature
fn clone(&self) -> AuthBlockSignature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuthBlockSignature
impl Debug for AuthBlockSignature
Source§impl PartialEq for AuthBlockSignature
impl PartialEq for AuthBlockSignature
Source§fn eq(&self, other: &AuthBlockSignature) -> bool
fn eq(&self, other: &AuthBlockSignature) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AuthBlockSignature
impl StructuralPartialEq for AuthBlockSignature
Auto Trait Implementations§
impl Freeze for AuthBlockSignature
impl RefUnwindSafe for AuthBlockSignature
impl Send for AuthBlockSignature
impl Sync for AuthBlockSignature
impl Unpin for AuthBlockSignature
impl UnsafeUnpin for AuthBlockSignature
impl UnwindSafe for AuthBlockSignature
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.