Struct k8s_gateway_api::RouteStatus
source · [−]pub struct RouteStatus {
pub parents: Vec<RouteParentStatus>,
}
Expand description
RouteStatus defines the common attributes that all Routes MUST include within their status.
Fields
parents: Vec<RouteParentStatus>
Parents is a list of parent resources (usually Gateways) that are associated with the route, and the status of the route with respect to each parent. When this route attaches to a parent, the controller that manages the parent must add an entry to this list when the controller first sees the route and should update the entry as appropriate when the route or gateway is modified.
Note that parent references that cannot be resolved by an implementation of this API will not be added to this list. Implementations of this API can only populate Route status for the Gateways/parent resources they are responsible for.
A maximum of 32 Gateways will be represented in this list. An empty list means the route has not been attached to any Gateway.
Trait Implementations
sourceimpl Clone for RouteStatus
impl Clone for RouteStatus
sourcefn clone(&self) -> RouteStatus
fn clone(&self) -> RouteStatus
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 RouteStatus
impl Debug for RouteStatus
sourceimpl<'de> Deserialize<'de> for RouteStatus
impl<'de> Deserialize<'de> for RouteStatus
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 JsonSchema for RouteStatus
impl JsonSchema for RouteStatus
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn 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 more
sourceimpl PartialEq<RouteStatus> for RouteStatus
impl PartialEq<RouteStatus> for RouteStatus
sourcefn eq(&self, other: &RouteStatus) -> bool
fn eq(&self, other: &RouteStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RouteStatus) -> bool
fn ne(&self, other: &RouteStatus) -> bool
This method tests for !=
.
sourceimpl Serialize for RouteStatus
impl Serialize for RouteStatus
impl StructuralPartialEq for RouteStatus
Auto Trait Implementations
impl RefUnwindSafe for RouteStatus
impl Send for RouteStatus
impl Sync for RouteStatus
impl Unpin for RouteStatus
impl UnwindSafe for RouteStatus
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