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
sourceimpl<'de> Deserialize<'de> for Host
impl<'de> Deserialize<'de> for Host
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
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
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