pub struct AuthnRequest {
pub action: String,
pub provider: String,
pub env: String,
pub realm: String,
pub command: String,
pub tier: String,
}Expand description
JSON payload sent to an external auth provider.
Fields§
§action: StringProvider action.
provider: StringProvider name.
env: StringEnvironment name.
realm: StringDeprecated alias of env kept for older provider binaries.
command: StringColon-separated command path.
tier: StringRisk tier.
Trait Implementations§
Source§impl Clone for AuthnRequest
impl Clone for AuthnRequest
Source§fn clone(&self) -> AuthnRequest
fn clone(&self) -> AuthnRequest
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 AuthnRequest
impl Debug for AuthnRequest
Source§impl<'de> Deserialize<'de> for AuthnRequest
impl<'de> Deserialize<'de> for AuthnRequest
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
impl Eq for AuthnRequest
Source§impl PartialEq for AuthnRequest
impl PartialEq for AuthnRequest
Source§fn eq(&self, other: &AuthnRequest) -> bool
fn eq(&self, other: &AuthnRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthnRequest
impl Serialize for AuthnRequest
impl StructuralPartialEq for AuthnRequest
Auto Trait Implementations§
impl Freeze for AuthnRequest
impl RefUnwindSafe for AuthnRequest
impl Send for AuthnRequest
impl Sync for AuthnRequest
impl Unpin for AuthnRequest
impl UnsafeUnpin for AuthnRequest
impl UnwindSafe for AuthnRequest
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,
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.