Struct k8s_openapi::api::core::v1::ClientIPConfig
source · pub struct ClientIPConfig {
pub timeout_seconds: Option<i32>,
}
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 for ClientIPConfig
impl PartialEq 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 ==
.source§impl Serialize for ClientIPConfig
impl Serialize for ClientIPConfig
impl StructuralPartialEq for ClientIPConfig
Auto Trait Implementations§
impl Freeze for ClientIPConfig
impl RefUnwindSafe for ClientIPConfig
impl Send for ClientIPConfig
impl Sync for ClientIPConfig
impl Unpin for ClientIPConfig
impl UnwindSafe for ClientIPConfig
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