pub struct NodeDeviceLocality {
pub pci_bus_id: String,
}
Expand description
NodeDeviceLocality stores information about the devices hardware locality on the node.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§pci_bus_id: String
PciBusID is the PCI Bus ID for the device.
Implementations§
Source§impl NodeDeviceLocality
impl NodeDeviceLocality
pub fn builder() -> NodeDeviceLocalityBuilder
Trait Implementations§
Source§impl Clone for NodeDeviceLocality
impl Clone for NodeDeviceLocality
Source§fn clone(&self) -> NodeDeviceLocality
fn clone(&self) -> NodeDeviceLocality
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 NodeDeviceLocality
impl Debug for NodeDeviceLocality
Source§impl Default for NodeDeviceLocality
impl Default for NodeDeviceLocality
Source§fn default() -> NodeDeviceLocality
fn default() -> NodeDeviceLocality
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeDeviceLocality
impl<'de> Deserialize<'de> for NodeDeviceLocality
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 NodeDeviceLocality
impl PartialEq for NodeDeviceLocality
Source§impl Serialize for NodeDeviceLocality
impl Serialize for NodeDeviceLocality
impl StructuralPartialEq for NodeDeviceLocality
Auto Trait Implementations§
impl Freeze for NodeDeviceLocality
impl RefUnwindSafe for NodeDeviceLocality
impl Send for NodeDeviceLocality
impl Sync for NodeDeviceLocality
impl Unpin for NodeDeviceLocality
impl UnwindSafe for NodeDeviceLocality
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