pub struct NodeSummary {
pub xname: String,
pub type: String,
pub processors: Vec<ArtifactSummary>,
pub memory: Vec<ArtifactSummary>,
pub node_accels: Vec<ArtifactSummary>,
pub node_hsn_nics: Vec<ArtifactSummary>,
}Fields§
§xname: String§type: String§processors: Vec<ArtifactSummary>§memory: Vec<ArtifactSummary>§node_accels: Vec<ArtifactSummary>§node_hsn_nics: Vec<ArtifactSummary>Implementations§
Source§impl NodeSummary
impl NodeSummary
pub fn from_csm_value(hw_artifact_value: Value) -> NodeSummary
Trait Implementations§
Source§impl Clone for NodeSummary
impl Clone for NodeSummary
Source§fn clone(&self) -> NodeSummary
fn clone(&self) -> NodeSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodeSummary
impl Debug for NodeSummary
Source§impl Default for NodeSummary
impl Default for NodeSummary
Source§fn default() -> NodeSummary
fn default() -> NodeSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeSummary
impl<'de> Deserialize<'de> for NodeSummary
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NodeSummary, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NodeSummary, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<HWInvByLocNode> for NodeSummary
impl From<HWInvByLocNode> for NodeSummary
Source§fn from(value: HWInvByLocNode) -> NodeSummary
fn from(value: HWInvByLocNode) -> NodeSummary
Converts to this type from the input type.
Source§impl Into<HWInvByLocNode> for NodeSummary
impl Into<HWInvByLocNode> for NodeSummary
Source§fn into(self) -> HWInvByLocNode
fn into(self) -> HWInvByLocNode
Converts this type into the (usually inferred) input type.
Source§impl Serialize for NodeSummary
impl Serialize for NodeSummary
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for NodeSummary
impl RefUnwindSafe for NodeSummary
impl Send for NodeSummary
impl Sync for NodeSummary
impl Unpin for NodeSummary
impl UnsafeUnpin for NodeSummary
impl UnwindSafe for NodeSummary
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