pub struct Node {
pub sysctls: Option<Sysctl>,
pub templates: Option<Templates>,
pub exec: Option<Exec>,
pub pinned: Option<Vec<Pinned>>,
pub addrs: Option<HashMap<String, Vec<IpNetwork>>>,
pub name: Option<String>,
pub cores: HashMap<CoreId, Option<u64>>,
pub phynode: Option<String>,
pub interfaces: Option<HashMap<String, Interface>>,
/* private fields */
}Fields§
§sysctls: Option<Sysctl>§templates: Option<Templates>§exec: Option<Exec>§pinned: Option<Vec<Pinned>>§addrs: Option<HashMap<String, Vec<IpNetwork>>>§name: Option<String>Node’s name
cores: HashMap<CoreId, Option<u64>>Mapping of core identifier and real core number
phynode: Option<String>Phynode to which the current Node is attached
interfaces: Option<HashMap<String, Interface>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
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 From<&NodesDefaults> for Node
impl From<&NodesDefaults> for Node
Source§fn from(dflt: &NodesDefaults) -> Self
fn from(dflt: &NodesDefaults) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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