pub struct ClientBasedAuthorizationOpts {
pub enable_cba: bool,
}Expand description
Client-based authorization options.
Fields§
§enable_cba: boolEnables CBA usage requirement for every user.
Implementations§
Source§impl ClientBasedAuthorizationOpts
impl ClientBasedAuthorizationOpts
Sourcepub fn enable_client_tokens(self, enable: bool) -> Self
pub fn enable_client_tokens(self, enable: bool) -> Self
Specifies fail2ban options.
Trait Implementations§
Source§impl Clone for ClientBasedAuthorizationOpts
impl Clone for ClientBasedAuthorizationOpts
Source§fn clone(&self) -> ClientBasedAuthorizationOpts
fn clone(&self) -> ClientBasedAuthorizationOpts
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 ClientBasedAuthorizationOpts
impl Debug for ClientBasedAuthorizationOpts
Source§impl<'de> Deserialize<'de> for ClientBasedAuthorizationOpts
impl<'de> Deserialize<'de> for ClientBasedAuthorizationOpts
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
impl Eq for ClientBasedAuthorizationOpts
Source§impl Hash for ClientBasedAuthorizationOpts
impl Hash for ClientBasedAuthorizationOpts
Source§impl PartialEq for ClientBasedAuthorizationOpts
impl PartialEq for ClientBasedAuthorizationOpts
Source§fn eq(&self, other: &ClientBasedAuthorizationOpts) -> bool
fn eq(&self, other: &ClientBasedAuthorizationOpts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientBasedAuthorizationOpts
Auto Trait Implementations§
impl Freeze for ClientBasedAuthorizationOpts
impl RefUnwindSafe for ClientBasedAuthorizationOpts
impl Send for ClientBasedAuthorizationOpts
impl Sync for ClientBasedAuthorizationOpts
impl Unpin for ClientBasedAuthorizationOpts
impl UnsafeUnpin for ClientBasedAuthorizationOpts
impl UnwindSafe for ClientBasedAuthorizationOpts
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.