pub struct SecuritySection {
pub auth: AuthSection,
pub rate_limit: RateLimitSection,
pub cors: CorsSection,
}Expand description
Security configuration section.
Fields§
§auth: AuthSectionAuthentication settings.
rate_limit: RateLimitSectionRate limiting settings.
cors: CorsSectionCORS settings.
Trait Implementations§
Source§impl Clone for SecuritySection
impl Clone for SecuritySection
Source§fn clone(&self) -> SecuritySection
fn clone(&self) -> SecuritySection
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 SecuritySection
impl Debug for SecuritySection
Source§impl Default for SecuritySection
impl Default for SecuritySection
Source§fn default() -> SecuritySection
fn default() -> SecuritySection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecuritySectionwhere
SecuritySection: Default,
impl<'de> Deserialize<'de> for SecuritySectionwhere
SecuritySection: Default,
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 SecuritySection
impl RefUnwindSafe for SecuritySection
impl Send for SecuritySection
impl Sync for SecuritySection
impl Unpin for SecuritySection
impl UnsafeUnpin for SecuritySection
impl UnwindSafe for SecuritySection
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