Struct k8s_openapi::api::core::v1::ClientIPConfig
source · Expand description
ClientIPConfig represents the configurations of Client IP based session affinity.
Fields§
§timeout_seconds: Option<i32>
timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == “ClientIP”. Default value is 10800(for 3 hours).
Trait Implementations§
source§impl Clone for ClientIPConfig
impl Clone for ClientIPConfig
source§fn clone(&self) -> ClientIPConfig
fn clone(&self) -> ClientIPConfig
Returns a copy 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 ClientIPConfig
impl Debug for ClientIPConfig
source§impl DeepMerge for ClientIPConfig
impl DeepMerge for ClientIPConfig
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ClientIPConfig
impl Default for ClientIPConfig
source§fn default() -> ClientIPConfig
fn default() -> ClientIPConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClientIPConfig
impl<'de> Deserialize<'de> for ClientIPConfig
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
source§impl PartialEq<ClientIPConfig> for ClientIPConfig
impl PartialEq<ClientIPConfig> for ClientIPConfig
source§fn eq(&self, other: &ClientIPConfig) -> bool
fn eq(&self, other: &ClientIPConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.