pub struct AdminConfigView {Show 17 fields
pub token_lifetime_secs: u64,
pub refresh_token_lifetime_secs: u64,
pub enable_multi_factor: bool,
pub rate_limiting_enabled: bool,
pub rate_limit_max_requests: u32,
pub rate_limit_window_secs: u64,
pub rate_limit_burst: u32,
pub min_password_length: usize,
pub require_password_complexity: bool,
pub secure_cookies: bool,
pub csrf_protection: bool,
pub session_timeout_secs: u64,
pub audit_enabled: bool,
pub audit_log_success: bool,
pub audit_log_failures: bool,
pub audit_log_permissions: bool,
pub audit_log_tokens: bool,
}Expand description
Response body for GET /admin/config.
Only runtime-mutable fields are exposed. Security-sensitive settings (JWT secret, signing algorithm, storage backend) are intentionally omitted.
Fields§
§token_lifetime_secs: u64§refresh_token_lifetime_secs: u64§enable_multi_factor: bool§rate_limiting_enabled: bool§rate_limit_max_requests: u32§rate_limit_window_secs: u64§rate_limit_burst: u32§min_password_length: usize§require_password_complexity: bool§csrf_protection: bool§session_timeout_secs: u64§audit_enabled: bool§audit_log_success: bool§audit_log_failures: bool§audit_log_permissions: bool§audit_log_tokens: boolTrait Implementations§
Source§impl Debug for AdminConfigView
impl Debug for AdminConfigView
Source§impl From<RuntimeConfig> for AdminConfigView
impl From<RuntimeConfig> for AdminConfigView
Source§fn from(c: RuntimeConfig) -> Self
fn from(c: RuntimeConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AdminConfigView
impl RefUnwindSafe for AdminConfigView
impl Send for AdminConfigView
impl Sync for AdminConfigView
impl Unpin for AdminConfigView
impl UnsafeUnpin for AdminConfigView
impl UnwindSafe for AdminConfigView
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> 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