pub enum ReferenceableAuthenticationPolicy {
Reference(AuthenticationPolicyReference),
Policy(Box<AuthenticationPolicyDefinition>),
}Expand description
Represents a referenceable authentication policy that can either be a reference or an inline policy
Variants§
Reference(AuthenticationPolicyReference)
A reference to a named authentication policy
Policy(Box<AuthenticationPolicyDefinition>)
An inline authentication policy definition
Trait Implementations§
Source§impl Clone for ReferenceableAuthenticationPolicy
impl Clone for ReferenceableAuthenticationPolicy
Source§fn clone(&self) -> ReferenceableAuthenticationPolicy
fn clone(&self) -> ReferenceableAuthenticationPolicy
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<'de> Deserialize<'de> for ReferenceableAuthenticationPolicy
impl<'de> Deserialize<'de> for ReferenceableAuthenticationPolicy
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 ReferenceableAuthenticationPolicy
impl PartialEq for ReferenceableAuthenticationPolicy
Source§fn eq(&self, other: &ReferenceableAuthenticationPolicy) -> bool
fn eq(&self, other: &ReferenceableAuthenticationPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReferenceableAuthenticationPolicy
impl StructuralPartialEq for ReferenceableAuthenticationPolicy
Auto Trait Implementations§
impl Freeze for ReferenceableAuthenticationPolicy
impl RefUnwindSafe for ReferenceableAuthenticationPolicy
impl Send for ReferenceableAuthenticationPolicy
impl Sync for ReferenceableAuthenticationPolicy
impl Unpin for ReferenceableAuthenticationPolicy
impl UnsafeUnpin for ReferenceableAuthenticationPolicy
impl UnwindSafe for ReferenceableAuthenticationPolicy
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