pub struct GRPCRouteRulesSessionPersistence {
pub absolute_timeout: Option<String>,
pub cookie_config: Option<GRPCRouteRulesSessionPersistenceCookieConfig>,
pub idle_timeout: Option<String>,
pub session_name: Option<String>,
pub type: Option<GRPCRouteRulesSessionPersistenceType>,
}
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<GRPCRouteRulesSessionPersistenceType>
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 GRPCRouteRulesSessionPersistence
impl Clone for GRPCRouteRulesSessionPersistence
Source§fn clone(&self) -> GRPCRouteRulesSessionPersistence
fn clone(&self) -> GRPCRouteRulesSessionPersistence
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GRPCRouteRulesSessionPersistence
impl Default for GRPCRouteRulesSessionPersistence
Source§fn default() -> GRPCRouteRulesSessionPersistence
fn default() -> GRPCRouteRulesSessionPersistence
Source§impl<'de> Deserialize<'de> for GRPCRouteRulesSessionPersistence
impl<'de> Deserialize<'de> for GRPCRouteRulesSessionPersistence
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 GRPCRouteRulesSessionPersistence
impl JsonSchema for GRPCRouteRulesSessionPersistence
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for GRPCRouteRulesSessionPersistence
impl PartialEq for GRPCRouteRulesSessionPersistence
Source§fn eq(&self, other: &GRPCRouteRulesSessionPersistence) -> bool
fn eq(&self, other: &GRPCRouteRulesSessionPersistence) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GRPCRouteRulesSessionPersistence
Auto Trait Implementations§
impl Freeze for GRPCRouteRulesSessionPersistence
impl RefUnwindSafe for GRPCRouteRulesSessionPersistence
impl Send for GRPCRouteRulesSessionPersistence
impl Sync for GRPCRouteRulesSessionPersistence
impl Unpin for GRPCRouteRulesSessionPersistence
impl UnwindSafe for GRPCRouteRulesSessionPersistence
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§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>
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>
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