Struct k8s_openapi_ext::corev1::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<ClientIPConfig, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<ClientIPConfig, <D as Deserializer<'de>>::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
sourceimpl Serialize for ClientIPConfig
impl Serialize for ClientIPConfig
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
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