pub struct HostNetworkInfo {
pub name: String,
pub cidr: String,
pub interface: String,
pub reserved_ports: String,
}
Expand description
HostNetworkInfo is used to return metadata about a given HostNetwork
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§name: String
§cidr: String
§interface: String
§reserved_ports: String
Implementations§
Source§impl HostNetworkInfo
impl HostNetworkInfo
pub fn builder() -> HostNetworkInfoBuilder
Trait Implementations§
Source§impl Clone for HostNetworkInfo
impl Clone for HostNetworkInfo
Source§fn clone(&self) -> HostNetworkInfo
fn clone(&self) -> HostNetworkInfo
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 HostNetworkInfo
impl Debug for HostNetworkInfo
Source§impl Default for HostNetworkInfo
impl Default for HostNetworkInfo
Source§fn default() -> HostNetworkInfo
fn default() -> HostNetworkInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HostNetworkInfo
impl<'de> Deserialize<'de> for HostNetworkInfo
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 HostNetworkInfo
impl PartialEq for HostNetworkInfo
Source§impl Serialize for HostNetworkInfo
impl Serialize for HostNetworkInfo
impl StructuralPartialEq for HostNetworkInfo
Auto Trait Implementations§
impl Freeze for HostNetworkInfo
impl RefUnwindSafe for HostNetworkInfo
impl Send for HostNetworkInfo
impl Sync for HostNetworkInfo
impl Unpin for HostNetworkInfo
impl UnwindSafe for HostNetworkInfo
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