Struct k8s_openapi_ext::metav1::ServerAddressByClientCIDR
source · [−]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
sourceimpl Clone for ServerAddressByClientCIDR
impl Clone for ServerAddressByClientCIDR
sourcefn clone(&self) -> ServerAddressByClientCIDR
fn clone(&self) -> ServerAddressByClientCIDR
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ServerAddressByClientCIDR
impl Debug for ServerAddressByClientCIDR
sourceimpl DeepMerge for ServerAddressByClientCIDR
impl DeepMerge for ServerAddressByClientCIDR
sourcefn merge_from(&mut self, other: ServerAddressByClientCIDR)
fn merge_from(&mut self, other: ServerAddressByClientCIDR)
Merge
other
into self
.sourceimpl Default for ServerAddressByClientCIDR
impl Default for ServerAddressByClientCIDR
sourcefn default() -> ServerAddressByClientCIDR
fn default() -> ServerAddressByClientCIDR
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ServerAddressByClientCIDR
impl<'de> Deserialize<'de> for ServerAddressByClientCIDR
sourcefn 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
sourceimpl PartialEq<ServerAddressByClientCIDR> for ServerAddressByClientCIDR
impl PartialEq<ServerAddressByClientCIDR> for ServerAddressByClientCIDR
sourcefn eq(&self, other: &ServerAddressByClientCIDR) -> bool
fn eq(&self, other: &ServerAddressByClientCIDR) -> bool
sourceimpl Serialize for ServerAddressByClientCIDR
impl Serialize for ServerAddressByClientCIDR
sourcefn 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
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more