pub struct GatewayConnection {
pub name: String,
pub enabled: bool,
pub healthchecks: Value,
pub extra: BTreeMap<String, Value>,
}Expand description
One item of the connection resource lists — name/enabled plus the
healthchecks map EXACTLY as the gateway reports it (raw
passthrough; see the module docs for the LOW-confidence flag).
Fields§
§name: StringResource name, e.g. "MyPostgres".
enabled: boolWhether the connection resource is enabled.
healthchecks: ValueHealthcheck status map — RAW passthrough (Value): the populated
shape is LOW-confidence until captured against a gateway with a
configured connection (research Open Question 1). Rendered
as-is, never interpreted.
extra: BTreeMap<String, Value>collection, signature, config, … resource keys round-trip.
Trait Implementations§
Source§impl Clone for GatewayConnection
impl Clone for GatewayConnection
Source§fn clone(&self) -> GatewayConnection
fn clone(&self) -> GatewayConnection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GatewayConnection
impl Debug for GatewayConnection
Source§impl<'de> Deserialize<'de> for GatewayConnection
impl<'de> Deserialize<'de> for GatewayConnection
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 PartialEq for GatewayConnection
impl PartialEq for GatewayConnection
Source§impl Serialize for GatewayConnection
impl Serialize for GatewayConnection
impl StructuralPartialEq for GatewayConnection
Auto Trait Implementations§
impl Freeze for GatewayConnection
impl RefUnwindSafe for GatewayConnection
impl Send for GatewayConnection
impl Sync for GatewayConnection
impl Unpin for GatewayConnection
impl UnsafeUnpin for GatewayConnection
impl UnwindSafe for GatewayConnection
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