pub struct HTTPRouteRulesSessionPersistence {
pub absolute_timeout: Option<String>,
pub cookie_config: Option<HTTPRouteRulesSessionPersistenceCookieConfig>,
pub idle_timeout: Option<String>,
pub session_name: Option<String>,
pub type: Option<HTTPRouteRulesSessionPersistenceType>,
}
Expand description
SessionPersistence defines and configures session persistence for the route rule.
Support: Extended
Fields§
§absolute_timeout: Option<String>
AbsoluteTimeout defines the absolute timeout of the persistent session. Once the AbsoluteTimeout duration has elapsed, the session becomes invalid.
Support: Extended
CookieConfig provides configuration settings that are specific to cookie-based session persistence.
Support: Core
idle_timeout: Option<String>
IdleTimeout defines the idle timeout of the persistent session. Once the session has been idle for more than the specified IdleTimeout duration, the session becomes invalid.
Support: Extended
session_name: Option<String>
SessionName defines the name of the persistent session token which may be reflected in the cookie or the header. Users should avoid reusing session names to prevent unintended consequences, such as rejection or unpredictable behavior.
Support: Implementation-specific
type: Option<HTTPRouteRulesSessionPersistenceType>
Type defines the type of session persistence such as through the use a header or cookie. Defaults to cookie based session persistence.
Support: Core for “Cookie” type
Support: Extended for “Header” type
Trait Implementations§
source§impl Clone for HTTPRouteRulesSessionPersistence
impl Clone for HTTPRouteRulesSessionPersistence
source§fn clone(&self) -> HTTPRouteRulesSessionPersistence
fn clone(&self) -> HTTPRouteRulesSessionPersistence
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for HTTPRouteRulesSessionPersistence
impl Default for HTTPRouteRulesSessionPersistence
source§fn default() -> HTTPRouteRulesSessionPersistence
fn default() -> HTTPRouteRulesSessionPersistence
source§impl<'de> Deserialize<'de> for HTTPRouteRulesSessionPersistence
impl<'de> Deserialize<'de> for HTTPRouteRulesSessionPersistence
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>,
source§impl JsonSchema for HTTPRouteRulesSessionPersistence
impl JsonSchema for HTTPRouteRulesSessionPersistence
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moresource§impl PartialEq for HTTPRouteRulesSessionPersistence
impl PartialEq for HTTPRouteRulesSessionPersistence
source§fn eq(&self, other: &HTTPRouteRulesSessionPersistence) -> bool
fn eq(&self, other: &HTTPRouteRulesSessionPersistence) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for HTTPRouteRulesSessionPersistence
Auto Trait Implementations§
impl Freeze for HTTPRouteRulesSessionPersistence
impl RefUnwindSafe for HTTPRouteRulesSessionPersistence
impl Send for HTTPRouteRulesSessionPersistence
impl Sync for HTTPRouteRulesSessionPersistence
impl Unpin for HTTPRouteRulesSessionPersistence
impl UnwindSafe for HTTPRouteRulesSessionPersistence
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)