Struct k8s_openapi::apimachinery::pkg::apis::meta::v1::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: Self)
fn merge_from(&mut self, other: Self)
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<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<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 ==
.impl StructuralPartialEq for ServerAddressByClientCIDR
Auto Trait Implementations§
impl RefUnwindSafe for ServerAddressByClientCIDR
impl Send for ServerAddressByClientCIDR
impl Sync for ServerAddressByClientCIDR
impl Unpin for ServerAddressByClientCIDR
impl UnwindSafe for ServerAddressByClientCIDR
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