#[non_exhaustive]pub struct SessionLimit {
pub maximum: Option<String>,
pub rate: Option<String>,
pub cpu_load_threshold: Option<String>,
}Expand description
The session-limit of the services options.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.maximum: Option<String>§rate: Option<String>New sessions per second.
cpu_load_threshold: Option<String>Percentage.
Trait Implementations§
Source§impl Clone for SessionLimit
impl Clone for SessionLimit
Source§impl Debug for SessionLimit
impl Debug for SessionLimit
impl Eq for SessionLimit
Source§impl PartialEq for SessionLimit
impl PartialEq for SessionLimit
impl StructuralPartialEq for SessionLimit
Auto Trait Implementations§
impl Forget for SessionLimit
impl Freeze for SessionLimit
impl Move for SessionLimit
impl RefUnwindSafe for SessionLimit
impl Send for SessionLimitwhere
RawVecInner: Send,
impl Sync for SessionLimitwhere
RawVecInner: Sync,
impl Unpin for SessionLimit
impl UnsafeUnpin for SessionLimit
impl UnwindSafe for SessionLimitwhere
RawVecInner: UnwindSafe,
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