pub struct HostDataResponse {
pub agent_id: String,
pub host_data: Option<HostData>,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§agent_id: String
§host_data: Option<HostData>
Implementations§
Source§impl HostDataResponse
impl HostDataResponse
pub fn builder() -> HostDataResponseBuilder
Trait Implementations§
Source§impl Clone for HostDataResponse
impl Clone for HostDataResponse
Source§fn clone(&self) -> HostDataResponse
fn clone(&self) -> HostDataResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HostDataResponse
impl Debug for HostDataResponse
Source§impl Default for HostDataResponse
impl Default for HostDataResponse
Source§fn default() -> HostDataResponse
fn default() -> HostDataResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HostDataResponse
impl<'de> Deserialize<'de> for HostDataResponse
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 HostDataResponse
impl PartialEq for HostDataResponse
Source§impl Serialize for HostDataResponse
impl Serialize for HostDataResponse
impl StructuralPartialEq for HostDataResponse
Auto Trait Implementations§
impl Freeze for HostDataResponse
impl RefUnwindSafe for HostDataResponse
impl Send for HostDataResponse
impl Sync for HostDataResponse
impl Unpin for HostDataResponse
impl UnwindSafe for HostDataResponse
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