Struct wasmcloud_control_interface::Host
source · pub struct Host {
pub cluster_issuers: Option<String>,
pub ctl_host: Option<String>,
pub id: String,
pub js_domain: Option<String>,
pub labels: Option<KeyValueMap>,
pub lattice_prefix: Option<String>,
pub prov_rpc_host: Option<String>,
pub rpc_host: Option<String>,
pub uptime_human: Option<String>,
pub uptime_seconds: u64,
pub version: Option<String>,
}
Expand description
A summary representation of a host
Fields§
§cluster_issuers: Option<String>
Comma-delimited list of valid cluster issuer public keys as known to this host
ctl_host: Option<String>
NATS server host used for the control interface
id: String
§js_domain: Option<String>
JetStream domain (if applicable) in use by this host
labels: Option<KeyValueMap>
Hash map of label-value pairs for this host
lattice_prefix: Option<String>
Lattice prefix/ID used by the host
prov_rpc_host: Option<String>
NATS server host used for provider RPC
rpc_host: Option<String>
NATS server host used for regular RPC
uptime_human: Option<String>
Human-friendly uptime description
uptime_seconds: u64
uptime in seconds
version: Option<String>
Current wasmCloud Host software version
Trait Implementations§
source§impl<'de> Deserialize<'de> for Host
impl<'de> Deserialize<'de> for Host
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<Host> for Host
impl PartialEq<Host> for Host
impl Eq for Host
impl StructuralEq for Host
impl StructuralPartialEq for Host
Auto Trait Implementations§
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnwindSafe for Host
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more