Struct k8s_openapi::api::discovery::v1beta1::EndpointHints
source · [−]Expand description
EndpointHints provides hints describing how an endpoint should be consumed.
Fields
for_zones: Option<Vec<ForZone>>
forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing. May contain a maximum of 8 entries.
Trait Implementations
sourceimpl Clone for EndpointHints
impl Clone for EndpointHints
sourcefn clone(&self) -> EndpointHints
fn clone(&self) -> EndpointHints
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EndpointHints
impl Debug for EndpointHints
sourceimpl Default for EndpointHints
impl Default for EndpointHints
sourcefn default() -> EndpointHints
fn default() -> EndpointHints
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for EndpointHints
impl<'de> Deserialize<'de> for EndpointHints
sourcefn 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
sourceimpl PartialEq<EndpointHints> for EndpointHints
impl PartialEq<EndpointHints> for EndpointHints
sourcefn eq(&self, other: &EndpointHints) -> bool
fn eq(&self, other: &EndpointHints) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EndpointHints) -> bool
fn ne(&self, other: &EndpointHints) -> bool
This method tests for !=
.
sourceimpl Serialize for EndpointHints
impl Serialize for EndpointHints
impl StructuralPartialEq for EndpointHints
Auto Trait Implementations
impl RefUnwindSafe for EndpointHints
impl Send for EndpointHints
impl Sync for EndpointHints
impl Unpin for EndpointHints
impl UnwindSafe for EndpointHints
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more