pub struct SecurityOptionsUpdate {
pub tokens: Option<String>,
pub referrers: Option<String>,
pub jwts: Option<String>,
pub ips: Option<String>,
pub domain_masks: Option<String>,
pub hsts: Option<String>,
pub cors: Option<String>,
pub request_filters: Option<String>,
pub ip_custom_header: Option<String>,
}Expand description
Per-feature toggles for update_security_options. Each field accepts
enabled or disabled.
Fields§
§tokens: Option<String>Token authentication toggle.
referrers: Option<String>Referrer validation toggle.
jwts: Option<String>JWT validation toggle.
ips: Option<String>IP whitelist toggle.
domain_masks: Option<String>Domain masking toggle.
hsts: Option<String>HSTS (HTTP Strict Transport Security) toggle.
cors: Option<String>CORS toggle.
request_filters: Option<String>Request (method) filter toggle.
ip_custom_header: Option<String>Custom IP header toggle.
Trait Implementations§
Source§impl Clone for SecurityOptionsUpdate
impl Clone for SecurityOptionsUpdate
Source§fn clone(&self) -> SecurityOptionsUpdate
fn clone(&self) -> SecurityOptionsUpdate
Returns a duplicate of the value. Read more
1.0.0 · 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 SecurityOptionsUpdate
impl Debug for SecurityOptionsUpdate
Source§impl Default for SecurityOptionsUpdate
impl Default for SecurityOptionsUpdate
Source§fn default() -> SecurityOptionsUpdate
fn default() -> SecurityOptionsUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SecurityOptionsUpdate
impl RefUnwindSafe for SecurityOptionsUpdate
impl Send for SecurityOptionsUpdate
impl Sync for SecurityOptionsUpdate
impl Unpin for SecurityOptionsUpdate
impl UnsafeUnpin for SecurityOptionsUpdate
impl UnwindSafe for SecurityOptionsUpdate
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