Struct gateway_api::experimental::gateways::GatewayStatusListeners
source · pub struct GatewayStatusListeners {
pub attached_routes: i32,
pub conditions: Vec<GatewayStatusListenersConditions>,
pub name: String,
pub supported_kinds: Vec<GatewayStatusListenersSupportedKinds>,
}
Expand description
ListenerStatus is the status associated with a Listener.
Fields
attached_routes: i32
AttachedRoutes represents the total number of Routes that have been successfully attached to this Listener.
conditions: Vec<GatewayStatusListenersConditions>
Conditions describe the current condition of this listener.
name: String
Name is the name of the Listener that this status corresponds to.
supported_kinds: Vec<GatewayStatusListenersSupportedKinds>
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.
Trait Implementations
sourceimpl Clone for GatewayStatusListeners
impl Clone for GatewayStatusListeners
sourcefn clone(&self) -> GatewayStatusListeners
fn clone(&self) -> GatewayStatusListeners
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for GatewayStatusListeners
impl Debug for GatewayStatusListeners
sourceimpl<'de> Deserialize<'de> for GatewayStatusListeners
impl<'de> Deserialize<'de> for GatewayStatusListeners
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>,
sourceimpl JsonSchema for GatewayStatusListeners
impl JsonSchema for GatewayStatusListeners
sourcefn schema_name() -> String
fn schema_name() -> String
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read more