Struct k8s_openapi::api::discovery::v1::EndpointHints
source · pub struct EndpointHints {
pub for_zones: Option<Vec<ForZone>>,
}
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§
source§impl Clone for EndpointHints
impl Clone for EndpointHints
source§fn clone(&self) -> EndpointHints
fn clone(&self) -> EndpointHints
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 EndpointHints
impl Debug for EndpointHints
source§impl DeepMerge for EndpointHints
impl DeepMerge for EndpointHints
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for EndpointHints
impl Default for EndpointHints
source§fn default() -> EndpointHints
fn default() -> EndpointHints
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EndpointHints
impl<'de> Deserialize<'de> for EndpointHints
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 for EndpointHints
impl PartialEq for EndpointHints
source§impl Serialize for EndpointHints
impl Serialize for EndpointHints
impl StructuralPartialEq for EndpointHints
Auto Trait Implementations§
impl Freeze for EndpointHints
impl RefUnwindSafe for EndpointHints
impl Send for EndpointHints
impl Sync for EndpointHints
impl Unpin for EndpointHints
impl UnwindSafe for EndpointHints
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)