pub struct SessionAffinityAttributes {
pub samesite: SameSite,
pub secure: Secure,
pub drain_duration: u32,
}Fields§
§samesite: SameSite§secure: Secure§drain_duration: u32Trait Implementations§
Source§impl Clone for SessionAffinityAttributes
impl Clone for SessionAffinityAttributes
Source§fn clone(&self) -> SessionAffinityAttributes
fn clone(&self) -> SessionAffinityAttributes
Returns a duplicate of the value. Read more
1.0.0 · 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 SessionAffinityAttributes
impl Debug for SessionAffinityAttributes
Source§impl<'de> Deserialize<'de> for SessionAffinityAttributes
impl<'de> Deserialize<'de> for SessionAffinityAttributes
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
impl Eq for SessionAffinityAttributes
impl StructuralPartialEq for SessionAffinityAttributes
Auto Trait Implementations§
impl Freeze for SessionAffinityAttributes
impl RefUnwindSafe for SessionAffinityAttributes
impl Send for SessionAffinityAttributes
impl Sync for SessionAffinityAttributes
impl Unpin for SessionAffinityAttributes
impl UnwindSafe for SessionAffinityAttributes
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