pub struct LoadBalancer {
pub classification: Option<String>,
pub code: Option<i64>,
pub dst_endpoint: Option<NetworkEndpoint>,
pub endpoint_connections: Vec<EndpointConnection>,
pub error_message: Option<String>,
pub ip: Option<String>,
pub message: Option<String>,
pub metrics: Vec<Metric>,
pub name: Option<String>,
pub status_detail: Option<String>,
pub uid: Option<String>,
}
Expand description
LoadBalancer
JSON schema
{
"type": "object",
"properties": {
"classification": {
"type": "string"
},
"code": {
"type": "integer"
},
"dst_endpoint": {
"$ref": "#/$defs/network_endpoint"
},
"endpoint_connections": {
"type": "array",
"items": {
"$ref": "#/$defs/endpoint_connection"
}
},
"error_message": {
"type": "string"
},
"ip": {
"type": "string"
},
"message": {
"type": "string"
},
"metrics": {
"type": "array",
"items": {
"$ref": "#/$defs/metric"
}
},
"name": {
"type": "string"
},
"status_detail": {
"type": "string"
},
"uid": {
"type": "string"
}
}
}
Fields§
§classification: Option<String>
§code: Option<i64>
§dst_endpoint: Option<NetworkEndpoint>
§endpoint_connections: Vec<EndpointConnection>
§error_message: Option<String>
§ip: Option<String>
§message: Option<String>
§metrics: Vec<Metric>
§name: Option<String>
§status_detail: Option<String>
§uid: Option<String>
Implementations§
Source§impl LoadBalancer
impl LoadBalancer
pub fn builder() -> LoadBalancer
Trait Implementations§
Source§impl Clone for LoadBalancer
impl Clone for LoadBalancer
Source§fn clone(&self) -> LoadBalancer
fn clone(&self) -> LoadBalancer
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 LoadBalancer
impl Debug for LoadBalancer
Source§impl<'de> Deserialize<'de> for LoadBalancer
impl<'de> Deserialize<'de> for LoadBalancer
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 From<&LoadBalancer> for LoadBalancer
impl From<&LoadBalancer> for LoadBalancer
Source§fn from(value: &LoadBalancer) -> Self
fn from(value: &LoadBalancer) -> Self
Converts to this type from the input type.
Source§impl From<LoadBalancer> for LoadBalancer
impl From<LoadBalancer> for LoadBalancer
Source§fn from(value: LoadBalancer) -> Self
fn from(value: LoadBalancer) -> Self
Converts to this type from the input type.
Source§impl Serialize for LoadBalancer
impl Serialize for LoadBalancer
Source§impl TryFrom<LoadBalancer> for LoadBalancer
impl TryFrom<LoadBalancer> for LoadBalancer
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: LoadBalancer) -> Result<Self, ConversionError>
fn try_from(value: LoadBalancer) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for LoadBalancer
impl RefUnwindSafe for LoadBalancer
impl Send for LoadBalancer
impl Sync for LoadBalancer
impl Unpin for LoadBalancer
impl UnwindSafe for LoadBalancer
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