pub struct StickyConfig {
pub cookie: String,
pub max_age_secs: Option<u64>,
}Expand description
[upstream.sticky]: keep a client on one backend with a cookie.
Fields§
The cookie’s name.
max_age_secs: Option<u64>Max-Age in seconds; None = a session cookie.
Trait Implementations§
Source§impl Clone for StickyConfig
impl Clone for StickyConfig
Source§impl Debug for StickyConfig
impl Debug for StickyConfig
Source§impl PartialEq for StickyConfig
impl PartialEq for StickyConfig
impl StructuralPartialEq for StickyConfig
Auto Trait Implementations§
impl Freeze for StickyConfig
impl RefUnwindSafe for StickyConfig
impl Send for StickyConfig
impl Sync for StickyConfig
impl Unpin for StickyConfig
impl UnsafeUnpin for StickyConfig
impl UnwindSafe for StickyConfig
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