pub struct BackendServiceLocalityLoadBalancingPolicyConfigPolicy {
pub name: Option<String>,
}
Expand description
The configuration for a built-in load balancing policy.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>
The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected.
Trait Implementations§
source§impl Clone for BackendServiceLocalityLoadBalancingPolicyConfigPolicy
impl Clone for BackendServiceLocalityLoadBalancingPolicyConfigPolicy
source§fn clone(&self) -> BackendServiceLocalityLoadBalancingPolicyConfigPolicy
fn clone(&self) -> BackendServiceLocalityLoadBalancingPolicyConfigPolicy
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 BackendServiceLocalityLoadBalancingPolicyConfigPolicy
impl Default for BackendServiceLocalityLoadBalancingPolicyConfigPolicy
source§fn default() -> BackendServiceLocalityLoadBalancingPolicyConfigPolicy
fn default() -> BackendServiceLocalityLoadBalancingPolicyConfigPolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BackendServiceLocalityLoadBalancingPolicyConfigPolicy
impl<'de> Deserialize<'de> for BackendServiceLocalityLoadBalancingPolicyConfigPolicy
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 BackendServiceLocalityLoadBalancingPolicyConfigPolicy
Auto Trait Implementations§
impl RefUnwindSafe for BackendServiceLocalityLoadBalancingPolicyConfigPolicy
impl Send for BackendServiceLocalityLoadBalancingPolicyConfigPolicy
impl Sync for BackendServiceLocalityLoadBalancingPolicyConfigPolicy
impl Unpin for BackendServiceLocalityLoadBalancingPolicyConfigPolicy
impl UnwindSafe for BackendServiceLocalityLoadBalancingPolicyConfigPolicy
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