pub struct AuthenticationParameters {
pub client_authentication_data_source: Option<Box<AuthenticationDataSource>>,
pub client_role: Option<String>,
pub original_principal: Option<String>,
}Fields§
§client_authentication_data_source: Option<Box<AuthenticationDataSource>>§client_role: Option<String>§original_principal: Option<String>Implementations§
source§impl AuthenticationParameters
impl AuthenticationParameters
pub fn new() -> AuthenticationParameters
Trait Implementations§
source§impl Clone for AuthenticationParameters
impl Clone for AuthenticationParameters
source§fn clone(&self) -> AuthenticationParameters
fn clone(&self) -> AuthenticationParameters
Returns a copy 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 AuthenticationParameters
impl Debug for AuthenticationParameters
source§impl Default for AuthenticationParameters
impl Default for AuthenticationParameters
source§fn default() -> AuthenticationParameters
fn default() -> AuthenticationParameters
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuthenticationParameters
impl<'de> Deserialize<'de> for AuthenticationParameters
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 AuthenticationParameters
impl PartialEq for AuthenticationParameters
source§fn eq(&self, other: &AuthenticationParameters) -> bool
fn eq(&self, other: &AuthenticationParameters) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AuthenticationParameters
impl Serialize for AuthenticationParameters
impl StructuralPartialEq for AuthenticationParameters
Auto Trait Implementations§
impl RefUnwindSafe for AuthenticationParameters
impl Send for AuthenticationParameters
impl Sync for AuthenticationParameters
impl Unpin for AuthenticationParameters
impl UnwindSafe for AuthenticationParameters
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