pub struct SecurityOption {
pub option: String,
pub status: String,
pub value: Option<String>,
}Expand description
A single security feature’s name, status, and optional value.
Fields§
§option: StringName of the security feature (e.g. tokens, jwts, ips).
status: StringWhether the feature is enabled or disabled.
value: Option<String>Optional configuration value associated with the feature.
Trait Implementations§
Source§impl Clone for SecurityOption
impl Clone for SecurityOption
Source§fn clone(&self) -> SecurityOption
fn clone(&self) -> SecurityOption
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 SecurityOption
impl Debug for SecurityOption
Source§impl<'de> Deserialize<'de> for SecurityOption
impl<'de> Deserialize<'de> for SecurityOption
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
Auto Trait Implementations§
impl Freeze for SecurityOption
impl RefUnwindSafe for SecurityOption
impl Send for SecurityOption
impl Sync for SecurityOption
impl Unpin for SecurityOption
impl UnsafeUnpin for SecurityOption
impl UnwindSafe for SecurityOption
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