pub struct SecurityConfigFromSchema {
pub audit_logging: AuditLoggingSettings,
pub error_sanitization: ErrorSanitizationSettings,
pub state_encryption: StateEncryptionSettings,
}Expand description
Security configuration loaded from schema.compiled.json
Note: rate limiting is intentionally not represented here. The live
rate-limit configuration is read by the server middleware from the compiled
schema’s flat security.rate_limiting snake_case key
(fraiseql-server middleware/rate_limit/config.rs, RateLimitingSecurityConfig).
A former nested-camelCase reader on this struct (rateLimiting.authStart.maxRequests)
never matched the merger’s emitted flat shape, so it silently fed hardcoded
defaults; it was removed under #612 (item 5b) to eliminate that drift.
Fields§
§audit_logging: AuditLoggingSettingsAudit logging configuration
error_sanitization: ErrorSanitizationSettingsError sanitization configuration
state_encryption: StateEncryptionSettingsState encryption configuration
Implementations§
Trait Implementations§
Source§impl Clone for SecurityConfigFromSchema
impl Clone for SecurityConfigFromSchema
Source§fn clone(&self) -> SecurityConfigFromSchema
fn clone(&self) -> SecurityConfigFromSchema
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 SecurityConfigFromSchema
impl Debug for SecurityConfigFromSchema
Auto Trait Implementations§
impl Freeze for SecurityConfigFromSchema
impl RefUnwindSafe for SecurityConfigFromSchema
impl Send for SecurityConfigFromSchema
impl Sync for SecurityConfigFromSchema
impl Unpin for SecurityConfigFromSchema
impl UnsafeUnpin for SecurityConfigFromSchema
impl UnwindSafe for SecurityConfigFromSchema
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more