Struct k8s_gateway_api::ListenerStatus
source · [−]pub struct ListenerStatus {
pub name: SectionName,
pub supported_kinds: Vec<RouteGroupKind>,
pub attached_routes: u16,
pub conditions: Vec<Condition>,
}
Expand description
ListenerStatus is the status associated with a Listener.
Fields
name: SectionName
Name is the name of the Listener that this status corresponds to.
supported_kinds: Vec<RouteGroupKind>
SupportedKinds is the list indicating the Kinds supported by this listener. This MUST represent the kinds an implementation supports for that Listener configuration.
If kinds are specified in Spec that are not supported, they MUST NOT appear in this list and an implementation MUST set the “ResolvedRefs” condition to “False” with the “InvalidRouteKinds” reason. If both valid and invalid Route kinds are specified, the implementation MUST reference the valid Route kinds that have been specified.
attached_routes: u16
AttachedRoutes represents the total number of Routes that have been successfully attached to this Listener.
conditions: Vec<Condition>
Conditions describe the current condition of this listener.
Trait Implementations
sourceimpl Clone for ListenerStatus
impl Clone for ListenerStatus
sourcefn clone(&self) -> ListenerStatus
fn clone(&self) -> ListenerStatus
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 ListenerStatus
impl Debug for ListenerStatus
sourceimpl<'de> Deserialize<'de> for ListenerStatus
impl<'de> Deserialize<'de> for ListenerStatus
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 ListenerStatus
impl JsonSchema for ListenerStatus
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<ListenerStatus> for ListenerStatus
impl PartialEq<ListenerStatus> for ListenerStatus
sourcefn eq(&self, other: &ListenerStatus) -> bool
fn eq(&self, other: &ListenerStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListenerStatus) -> bool
fn ne(&self, other: &ListenerStatus) -> bool
This method tests for !=
.
sourceimpl Serialize for ListenerStatus
impl Serialize for ListenerStatus
impl StructuralPartialEq for ListenerStatus
Auto Trait Implementations
impl RefUnwindSafe for ListenerStatus
impl Send for ListenerStatus
impl Sync for ListenerStatus
impl Unpin for ListenerStatus
impl UnwindSafe for ListenerStatus
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