Struct gateway_api::apis::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 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<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” * “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<'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 moreAuto Trait Implementations§
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