Struct nacos_rs_sdk::model::instance::Host [−][src]
pub struct Host { pub valid: Option<bool>, pub marked: Option<bool>, pub instance_id: Option<String>, pub port: Option<u16>, pub ip: Option<String>, pub weight: Option<f64>, pub metadata: Option<HashMap<String, String>>, }
Fields
valid: Option<bool>
marked: Option<bool>
instance_id: Option<String>
port: Option<u16>
ip: Option<String>
weight: Option<f64>
metadata: Option<HashMap<String, String>>
Implementations
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Host
impl UnwindSafe for Host
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V