Struct k8s_openapi::api::discovery::v1::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.
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 DeepMerge for EndpointHints
impl DeepMerge for EndpointHints
sourcefn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge other
into self
.
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
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 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