pub struct Response {
pub outcome: Outcome,
}Expand description
The result of an authentication request.
Fields§
§outcome: OutcomeThe outcome, of the request.
Trait Implementations§
Source§impl AsPassFail for AuthenticationResponse
impl AsPassFail for AuthenticationResponse
fn as_pass_fail(&self) -> PassFail
Source§impl Clone for AuthenticationResponse
impl Clone for AuthenticationResponse
Source§fn clone(&self) -> AuthenticationResponse
fn clone(&self) -> AuthenticationResponse
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 AuthenticationResponse
impl Debug for AuthenticationResponse
Source§impl<'de> Deserialize<'de> for AuthenticationResponse
impl<'de> Deserialize<'de> for AuthenticationResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthenticationResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthenticationResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AuthenticationResponse
impl Serialize for AuthenticationResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AuthenticationResponse
impl RefUnwindSafe for AuthenticationResponse
impl Send for AuthenticationResponse
impl Sync for AuthenticationResponse
impl Unpin for AuthenticationResponse
impl UnwindSafe for AuthenticationResponse
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<'de, T> ConfigFromEnv<'de> for Twhere
T: Deserialize<'de>,
impl<'de, T> ConfigFromEnv<'de> for Twhere
T: Deserialize<'de>,
fn from(env: Environment) -> Result<T, ConfigError>
Source§fn from_env() -> Result<Self, ConfigError>
fn from_env() -> Result<Self, ConfigError>
Get a configuration from the env-vars.
Source§fn from_env_prefix<S: AsRef<str>>(prefix: S) -> Result<Self, ConfigError>
fn from_env_prefix<S: AsRef<str>>(prefix: S) -> Result<Self, ConfigError>
Get a configuration from the env-vars, prefixing all with the provided prefix plus
the separator.