pub struct AuthenticationData {
pub principal: Option<String>,
pub client_id: Option<String>,
pub client_name: Option<String>,
pub properties: Value,
}Expand description
The data regarding the authentication.
Fields§
§principal: Option<String>The main value used for authenticated.
client_id: Option<String>The client id associated to the authentication method used.
client_name: Option<String>The name id associated to the authentication method used.
properties: ValueAdditional properties of the authentication.
Implementations§
Trait Implementations§
Source§impl AuthenticationBinding for AuthenticationData
impl AuthenticationBinding for AuthenticationData
Source§fn client_name(&self) -> Option<String>
fn client_name(&self) -> Option<String>
Returns the
authentication.clientName value.Source§fn properties(&self) -> Option<Value>
fn properties(&self) -> Option<Value>
Returns the
authentication.properties value.Source§impl Clone for AuthenticationData
impl Clone for AuthenticationData
Source§fn clone(&self) -> AuthenticationData
fn clone(&self) -> AuthenticationData
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 AuthenticationData
impl Debug for AuthenticationData
Source§impl Default for AuthenticationData
impl Default for AuthenticationData
Source§fn default() -> AuthenticationData
fn default() -> AuthenticationData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticationData
impl<'de> Deserialize<'de> for AuthenticationData
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
Source§impl PartialEq for AuthenticationData
impl PartialEq for AuthenticationData
Source§impl Serialize for AuthenticationData
impl Serialize for AuthenticationData
impl StructuralPartialEq for AuthenticationData
Auto Trait Implementations§
impl Freeze for AuthenticationData
impl RefUnwindSafe for AuthenticationData
impl Send for AuthenticationData
impl Sync for AuthenticationData
impl Unpin for AuthenticationData
impl UnwindSafe for AuthenticationData
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