pub struct NodeCapabilities {
pub cpu_cores: u32,
pub memory_mb: u64,
pub bandwidth_mbps: u32,
pub supported_workflows: Vec<String>,
pub current_load: u8,
}Expand description
Node capabilities for workflow execution
Fields§
§cpu_cores: u32Available CPU cores
memory_mb: u64Available memory in MB
bandwidth_mbps: u32Network bandwidth in Mbps
supported_workflows: Vec<String>Supported workflow types
current_load: u8Current load (0-100)
Trait Implementations§
Source§impl Clone for NodeCapabilities
impl Clone for NodeCapabilities
Source§fn clone(&self) -> NodeCapabilities
fn clone(&self) -> NodeCapabilities
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 NodeCapabilities
impl Debug for NodeCapabilities
Source§impl<'de> Deserialize<'de> for NodeCapabilities
impl<'de> Deserialize<'de> for NodeCapabilities
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
Auto Trait Implementations§
impl Freeze for NodeCapabilities
impl RefUnwindSafe for NodeCapabilities
impl Send for NodeCapabilities
impl Sync for NodeCapabilities
impl Unpin for NodeCapabilities
impl UnwindSafe for NodeCapabilities
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