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) -> Self
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 · Source§const fn clone_from(&mut self, source: &Self)
const 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<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<HWInvByLocNode> for NodeSummary
impl From<HWInvByLocNode> for NodeSummary
Source§fn from(value: HWInvByLocNode) -> Self
fn from(value: HWInvByLocNode) -> Self
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.
Auto Trait Implementations§
impl Freeze for NodeSummary
impl RefUnwindSafe for NodeSummary
impl Send for NodeSummary
impl Sync for NodeSummary
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more