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
sourceimpl Clone for ClientIPConfig
impl Clone for ClientIPConfig
sourcefn clone(&self) -> ClientIPConfig
fn clone(&self) -> ClientIPConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ClientIPConfig
impl Debug for ClientIPConfig
sourceimpl Default for ClientIPConfig
impl Default for ClientIPConfig
sourcefn default() -> ClientIPConfig
fn default() -> ClientIPConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ClientIPConfig
impl<'de> Deserialize<'de> for ClientIPConfig
sourcefn 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
sourceimpl PartialEq<ClientIPConfig> for ClientIPConfig
impl PartialEq<ClientIPConfig> for ClientIPConfig
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ClientIPConfig) -> bool
fn ne(&self, other: &ClientIPConfig) -> bool
This method tests for !=
.
sourceimpl Serialize for ClientIPConfig
impl Serialize for ClientIPConfig
impl StructuralPartialEq for ClientIPConfig
Auto Trait Implementations
impl RefUnwindSafe for ClientIPConfig
impl Send for ClientIPConfig
impl Sync for ClientIPConfig
impl Unpin for ClientIPConfig
impl UnwindSafe for ClientIPConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more