Struct wasmcloud_control_interface::Host
source · pub struct Host {
pub rpc_host: Option<String>,
pub ctl_host: Option<String>,
pub friendly_name: String,
pub id: String,
pub js_domain: Option<String>,
pub labels: HashMap<String, String>,
pub lattice: String,
pub uptime_human: Option<String>,
pub uptime_seconds: u64,
pub version: Option<String>,
}
Expand description
A summary representation of a host
Fields§
§rpc_host: Option<String>
NATS server host used for regular RPC
ctl_host: Option<String>
NATS server host used for the control interface
friendly_name: String
Human-friendly name for this host
id: String
Unique nkey public key for this host
js_domain: Option<String>
JetStream domain (if applicable) in use by this host
labels: HashMap<String, String>
Hash map of label-value pairs for this host
lattice: String
The lattice that this host is a member of
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 for Host
impl PartialEq for Host
impl Eq for Host
impl StructuralPartialEq for Host
Auto Trait Implementations§
impl Freeze for Host
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 Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.