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
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
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.impl<T> FutureExt for T
impl<T> FutureExt for T
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request