Struct k8s_openapi_ext::metav1::ServerAddressByClientCIDR
source · pub struct ServerAddressByClientCIDR {
pub client_cidr: String,
pub server_address: String,
}
Expand description
ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
Fields§
§client_cidr: String
The CIDR with which clients can match their IP to figure out the server address that they should use.
server_address: String
Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.
Trait Implementations§
source§impl Clone for ServerAddressByClientCIDR
impl Clone for ServerAddressByClientCIDR
source§fn clone(&self) -> ServerAddressByClientCIDR
fn clone(&self) -> ServerAddressByClientCIDR
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 ServerAddressByClientCIDR
impl Debug for ServerAddressByClientCIDR
source§impl DeepMerge for ServerAddressByClientCIDR
impl DeepMerge for ServerAddressByClientCIDR
source§fn merge_from(&mut self, other: ServerAddressByClientCIDR)
fn merge_from(&mut self, other: ServerAddressByClientCIDR)
Merge
other
into self
.source§impl Default for ServerAddressByClientCIDR
impl Default for ServerAddressByClientCIDR
source§fn default() -> ServerAddressByClientCIDR
fn default() -> ServerAddressByClientCIDR
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServerAddressByClientCIDR
impl<'de> Deserialize<'de> for ServerAddressByClientCIDR
source§fn deserialize<D>(
deserializer: D
) -> Result<ServerAddressByClientCIDR, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<ServerAddressByClientCIDR, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ServerAddressByClientCIDR> for ServerAddressByClientCIDR
impl PartialEq<ServerAddressByClientCIDR> for ServerAddressByClientCIDR
source§fn eq(&self, other: &ServerAddressByClientCIDR) -> bool
fn eq(&self, other: &ServerAddressByClientCIDR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ServerAddressByClientCIDR
impl Serialize for ServerAddressByClientCIDR
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more