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§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