Struct bollard_stubs::models::ServiceEndpoint
source · pub struct ServiceEndpoint {
pub spec: Option<EndpointSpec>,
pub ports: Option<Vec<EndpointPortConfig>>,
pub virtual_ips: Option<Vec<ServiceEndpointVirtualIps>>,
}
Fields§
§spec: Option<EndpointSpec>
§ports: Option<Vec<EndpointPortConfig>>
§virtual_ips: Option<Vec<ServiceEndpointVirtualIps>>
Trait Implementations§
source§impl Clone for ServiceEndpoint
impl Clone for ServiceEndpoint
source§fn clone(&self) -> ServiceEndpoint
fn clone(&self) -> ServiceEndpoint
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 ServiceEndpoint
impl Debug for ServiceEndpoint
source§impl Default for ServiceEndpoint
impl Default for ServiceEndpoint
source§fn default() -> ServiceEndpoint
fn default() -> ServiceEndpoint
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServiceEndpoint
impl<'de> Deserialize<'de> for ServiceEndpoint
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<ServiceEndpoint> for ServiceEndpoint
impl PartialEq<ServiceEndpoint> for ServiceEndpoint
source§fn eq(&self, other: &ServiceEndpoint) -> bool
fn eq(&self, other: &ServiceEndpoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.