pub struct LoadBalancerAlgorithm {
pub type: Type,
}Expand description
LoadBalancerAlgorithm : Algorithm of the Load Balancer
Fields§
§type: TypeType of the algorithm.
Implementations§
source§impl LoadBalancerAlgorithm
impl LoadBalancerAlgorithm
sourcepub fn new(type: Type) -> LoadBalancerAlgorithm
pub fn new(type: Type) -> LoadBalancerAlgorithm
Algorithm of the Load Balancer
Trait Implementations§
source§impl Clone for LoadBalancerAlgorithm
impl Clone for LoadBalancerAlgorithm
source§fn clone(&self) -> LoadBalancerAlgorithm
fn clone(&self) -> LoadBalancerAlgorithm
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 LoadBalancerAlgorithm
impl Debug for LoadBalancerAlgorithm
source§impl Default for LoadBalancerAlgorithm
impl Default for LoadBalancerAlgorithm
source§fn default() -> LoadBalancerAlgorithm
fn default() -> LoadBalancerAlgorithm
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LoadBalancerAlgorithm
impl<'de> Deserialize<'de> for LoadBalancerAlgorithm
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 LoadBalancerAlgorithm
impl PartialEq for LoadBalancerAlgorithm
source§fn eq(&self, other: &LoadBalancerAlgorithm) -> bool
fn eq(&self, other: &LoadBalancerAlgorithm) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for LoadBalancerAlgorithm
impl Serialize for LoadBalancerAlgorithm
impl StructuralPartialEq for LoadBalancerAlgorithm
Auto Trait Implementations§
impl RefUnwindSafe for LoadBalancerAlgorithm
impl Send for LoadBalancerAlgorithm
impl Sync for LoadBalancerAlgorithm
impl Unpin for LoadBalancerAlgorithm
impl UnwindSafe for LoadBalancerAlgorithm
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