pub struct ConsistentHashLoadBalancerSettingsHttpCookie {
pub name: Option<String>,
pub path: Option<String>,
pub ttl: Option<Duration>,
}
Expand description
The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>
Name of the cookie.
path: Option<String>
Path to set for the cookie.
ttl: Option<Duration>
Lifetime of the cookie.
Trait Implementations§
source§impl Clone for ConsistentHashLoadBalancerSettingsHttpCookie
impl Clone for ConsistentHashLoadBalancerSettingsHttpCookie
source§fn clone(&self) -> ConsistentHashLoadBalancerSettingsHttpCookie
fn clone(&self) -> ConsistentHashLoadBalancerSettingsHttpCookie
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 Default for ConsistentHashLoadBalancerSettingsHttpCookie
impl Default for ConsistentHashLoadBalancerSettingsHttpCookie
source§fn default() -> ConsistentHashLoadBalancerSettingsHttpCookie
fn default() -> ConsistentHashLoadBalancerSettingsHttpCookie
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConsistentHashLoadBalancerSettingsHttpCookie
impl<'de> Deserialize<'de> for ConsistentHashLoadBalancerSettingsHttpCookie
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
impl Part for ConsistentHashLoadBalancerSettingsHttpCookie
Auto Trait Implementations§
impl RefUnwindSafe for ConsistentHashLoadBalancerSettingsHttpCookie
impl Send for ConsistentHashLoadBalancerSettingsHttpCookie
impl Sync for ConsistentHashLoadBalancerSettingsHttpCookie
impl Unpin for ConsistentHashLoadBalancerSettingsHttpCookie
impl UnwindSafe for ConsistentHashLoadBalancerSettingsHttpCookie
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