pub struct GatewayStatus {
    pub addresses: Option<Vec<GatewayStatusAddresses>>,
    pub conditions: Option<Vec<Condition>>,
    pub listeners: Option<Vec<GatewayStatusListeners>>,
}Expand description
Status defines the current state of Gateway.
Fields§
§addresses: Option<Vec<GatewayStatusAddresses>>Addresses lists the network addresses that have been bound to the Gateway.
This list may differ from the addresses provided in the spec under some conditions:
- no addresses are specified, all addresses are dynamically assigned
 - a combination of specified and dynamic addresses are assigned
 - a specified address was unusable (e.g. already in use)
 
conditions: Option<Vec<Condition>>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”
 - “Programmed”
 - “Ready”
 
listeners: Option<Vec<GatewayStatusListeners>>Listeners provide status for each unique listener port defined in the Spec.
Trait Implementations§
Source§impl Clone for GatewayStatus
 
impl Clone for GatewayStatus
Source§fn clone(&self) -> GatewayStatus
 
fn clone(&self) -> GatewayStatus
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 GatewayStatus
 
impl Debug for GatewayStatus
Source§impl Default for GatewayStatus
 
impl Default for GatewayStatus
Source§fn default() -> GatewayStatus
 
fn default() -> GatewayStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayStatus
 
impl<'de> Deserialize<'de> for GatewayStatus
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 JsonSchema for GatewayStatus
 
impl JsonSchema for GatewayStatus
Source§fn schema_name() -> String
 
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
 
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
 
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn 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 moreSource§impl PartialEq for GatewayStatus
 
impl PartialEq for GatewayStatus
Source§impl Serialize for GatewayStatus
 
impl Serialize for GatewayStatus
impl StructuralPartialEq for GatewayStatus
Auto Trait Implementations§
impl Freeze for GatewayStatus
impl RefUnwindSafe for GatewayStatus
impl Send for GatewayStatus
impl Sync for GatewayStatus
impl Unpin for GatewayStatus
impl UnwindSafe for GatewayStatus
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§impl<T> Instrument for T
 
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more