pub struct HostData {
pub os: String,
pub network: Vec<HashMap<String, String>>,
pub resolv_conf: String,
pub hosts: String,
pub environment: HashMap<String, String>,
pub disk: HashMap<String, DiskUsage>,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§os: String
§network: Vec<HashMap<String, String>>
§resolv_conf: String
§hosts: String
§environment: HashMap<String, String>
§disk: HashMap<String, DiskUsage>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HostData
impl<'de> Deserialize<'de> for HostData
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
impl StructuralPartialEq for HostData
Auto Trait Implementations§
impl Freeze for HostData
impl RefUnwindSafe for HostData
impl Send for HostData
impl Sync for HostData
impl Unpin for HostData
impl UnwindSafe for HostData
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