pub struct SecurityConfig {
pub level: Option<String>,
pub enable_audit_logging: Option<bool>,
pub enable_vulnerability_scanning: Option<bool>,
pub allow_external_urls: Option<bool>,
pub max_file_access_depth: Option<usize>,
}
Expand description
Security configuration
Fields§
§level: Option<String>
§enable_audit_logging: Option<bool>
§enable_vulnerability_scanning: Option<bool>
§allow_external_urls: Option<bool>
§max_file_access_depth: Option<usize>
Trait Implementations§
Source§impl Debug for SecurityConfig
impl Debug for SecurityConfig
Source§impl<'de> Deserialize<'de> for SecurityConfig
impl<'de> Deserialize<'de> for SecurityConfig
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 SecurityConfig
impl RefUnwindSafe for SecurityConfig
impl Send for SecurityConfig
impl Sync for SecurityConfig
impl Unpin for SecurityConfig
impl UnwindSafe for SecurityConfig
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