pub struct LoadBalancerState {
pub code: Option<String>,
pub reason: Option<String>,
}
Expand description
Information about the state of the load balancer.
Fields§
§code: Option<String>
The state code. The initial state of the load balancer is provisioning.
After the load balancer is fully set up and ready to route traffic, its state is active.
If the load balancer could not be set up, its state is failed.
reason: Option<String>
A description of the state.
Trait Implementations§
Source§impl Clone for LoadBalancerState
impl Clone for LoadBalancerState
Source§fn clone(&self) -> LoadBalancerState
fn clone(&self) -> LoadBalancerState
Returns a duplicate 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 LoadBalancerState
impl Debug for LoadBalancerState
Source§impl Default for LoadBalancerState
impl Default for LoadBalancerState
Source§fn default() -> LoadBalancerState
fn default() -> LoadBalancerState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoadBalancerState
impl<'de> Deserialize<'de> for LoadBalancerState
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 LoadBalancerState
impl PartialEq for LoadBalancerState
Source§impl Serialize for LoadBalancerState
impl Serialize for LoadBalancerState
impl StructuralPartialEq for LoadBalancerState
Auto Trait Implementations§
impl Freeze for LoadBalancerState
impl RefUnwindSafe for LoadBalancerState
impl Send for LoadBalancerState
impl Sync for LoadBalancerState
impl Unpin for LoadBalancerState
impl UnwindSafe for LoadBalancerState
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