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 JsonSchema for ServerAddressByClientCIDR
impl JsonSchema for ServerAddressByClientCIDR
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreimpl StructuralPartialEq for ServerAddressByClientCIDR
Auto Trait Implementations§
impl Freeze for ServerAddressByClientCIDR
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)