pub struct PrincipalMatch {
pub san: Option<String>,
pub sub: Option<String>,
pub bearer_ref: Option<String>,
pub aauth_agent: Option<String>,
pub any: bool,
}Fields§
§san: Option<String>§sub: Option<String>§bearer_ref: Option<String>§aauth_agent: Option<String>§any: boolTrait Implementations§
Source§impl Clone for PrincipalMatch
impl Clone for PrincipalMatch
Source§fn clone(&self) -> PrincipalMatch
fn clone(&self) -> PrincipalMatch
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 PrincipalMatch
impl Debug for PrincipalMatch
Source§impl Default for PrincipalMatch
impl Default for PrincipalMatch
Source§fn default() -> PrincipalMatch
fn default() -> PrincipalMatch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrincipalMatchwhere
PrincipalMatch: Default,
impl<'de> Deserialize<'de> for PrincipalMatchwhere
PrincipalMatch: Default,
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 PrincipalMatch
impl PartialEq for PrincipalMatch
impl StructuralPartialEq for PrincipalMatch
Auto Trait Implementations§
impl Freeze for PrincipalMatch
impl RefUnwindSafe for PrincipalMatch
impl Send for PrincipalMatch
impl Sync for PrincipalMatch
impl Unpin for PrincipalMatch
impl UnsafeUnpin for PrincipalMatch
impl UnwindSafe for PrincipalMatch
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