pub struct AdminConfigUpdate {Show 17 fields
pub token_lifetime_secs: Option<u64>,
pub refresh_token_lifetime_secs: Option<u64>,
pub enable_multi_factor: Option<bool>,
pub rate_limiting_enabled: Option<bool>,
pub rate_limit_max_requests: Option<u32>,
pub rate_limit_window_secs: Option<u64>,
pub rate_limit_burst: Option<u32>,
pub min_password_length: Option<usize>,
pub require_password_complexity: Option<bool>,
pub secure_cookies: Option<bool>,
pub csrf_protection: Option<bool>,
pub session_timeout_secs: Option<u64>,
pub audit_enabled: Option<bool>,
pub audit_log_success: Option<bool>,
pub audit_log_failures: Option<bool>,
pub audit_log_permissions: Option<bool>,
pub audit_log_tokens: Option<bool>,
}Expand description
Request body for PUT /admin/config — all fields optional.
Omitted fields retain their current values. This enables partial updates (patch semantics) without the client needing to re-send unchanged settings.
Fields§
§token_lifetime_secs: Option<u64>§refresh_token_lifetime_secs: Option<u64>§enable_multi_factor: Option<bool>§rate_limiting_enabled: Option<bool>§rate_limit_max_requests: Option<u32>§rate_limit_window_secs: Option<u64>§rate_limit_burst: Option<u32>§min_password_length: Option<usize>§require_password_complexity: Option<bool>§csrf_protection: Option<bool>§session_timeout_secs: Option<u64>§audit_enabled: Option<bool>§audit_log_success: Option<bool>§audit_log_failures: Option<bool>§audit_log_permissions: Option<bool>§audit_log_tokens: Option<bool>Trait Implementations§
Source§impl Debug for AdminConfigUpdate
impl Debug for AdminConfigUpdate
Source§impl<'de> Deserialize<'de> for AdminConfigUpdate
impl<'de> Deserialize<'de> for AdminConfigUpdate
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 AdminConfigUpdate
impl RefUnwindSafe for AdminConfigUpdate
impl Send for AdminConfigUpdate
impl Sync for AdminConfigUpdate
impl Unpin for AdminConfigUpdate
impl UnsafeUnpin for AdminConfigUpdate
impl UnwindSafe for AdminConfigUpdate
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