pub struct SecurityLevels {
pub encryption: bool,
pub authentication: bool,
pub authorization: bool,
}Fields§
§encryption: boolEncryption is required / provided
authentication: boolAuthentication is required / provided
Authorization is required / provided
Implementations§
Source§impl SecurityLevels
impl SecurityLevels
pub fn satisfied(&self, provided: SecurityLevels) -> bool
pub const fn encryption_required() -> Self
Trait Implementations§
Source§impl Clone for SecurityLevels
impl Clone for SecurityLevels
impl Copy for SecurityLevels
Source§impl Debug for SecurityLevels
impl Debug for SecurityLevels
Auto Trait Implementations§
impl Freeze for SecurityLevels
impl RefUnwindSafe for SecurityLevels
impl Send for SecurityLevels
impl Sync for SecurityLevels
impl Unpin for SecurityLevels
impl UnsafeUnpin for SecurityLevels
impl UnwindSafe for SecurityLevels
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