Struct gateway_api::experimental::gateways::GatewayStatus
source · pub struct GatewayStatus {
pub addresses: Option<Vec<GatewayStatusAddresses>>,
pub conditions: Option<Vec<GatewayStatusConditions>>,
pub listeners: Option<Vec<GatewayStatusListeners>>,
}
Expand description
Status defines the current state of Gateway.
Fields
addresses: Option<Vec<GatewayStatusAddresses>>
Addresses lists the IP addresses that have actually been bound to the Gateway. These addresses may differ from the addresses in the Spec, e.g. if the Gateway automatically assigns an address from a reserved pool.
conditions: Option<Vec<GatewayStatusConditions>>
Conditions describe the current conditions of the Gateway.
Implementations should prefer to express Gateway conditions using the GatewayConditionType
and GatewayConditionReason
constants so that operators and tools can converge on a common vocabulary to describe Gateway state.
Known condition types are:
- “Accepted” * “Ready”
listeners: Option<Vec<GatewayStatusListeners>>
Listeners provide status for each unique listener port defined in the Spec.
Trait Implementations
sourceimpl Clone for GatewayStatus
impl Clone for GatewayStatus
sourcefn clone(&self) -> GatewayStatus
fn clone(&self) -> GatewayStatus
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 moresourceimpl Debug for GatewayStatus
impl Debug for GatewayStatus
sourceimpl<'de> Deserialize<'de> for GatewayStatus
impl<'de> Deserialize<'de> for GatewayStatus
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 GatewayStatus
impl JsonSchema for GatewayStatus
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 moresourceimpl Serialize for GatewayStatus
impl Serialize for GatewayStatus
Auto Trait Implementations
impl RefUnwindSafe for GatewayStatus
impl Send for GatewayStatus
impl Sync for GatewayStatus
impl Unpin for GatewayStatus
impl UnwindSafe for GatewayStatus
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