pub struct BatchOpportunity {
pub level: usize,
pub node_count: usize,
pub node_names: Vec<String>,
pub estimated_speedup: f64,
pub description: String,
}Expand description
A batching opportunity identified in the workflow
Fields§
§level: usizeExecution level
node_count: usizeNumber of nodes in batch
node_names: Vec<String>Names of nodes in batch
estimated_speedup: f64Estimated speedup from batching
description: StringHuman-readable description
Trait Implementations§
Source§impl Clone for BatchOpportunity
impl Clone for BatchOpportunity
Source§fn clone(&self) -> BatchOpportunity
fn clone(&self) -> BatchOpportunity
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 BatchOpportunity
impl Debug for BatchOpportunity
Source§impl<'de> Deserialize<'de> for BatchOpportunity
impl<'de> Deserialize<'de> for BatchOpportunity
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 BatchOpportunity
impl RefUnwindSafe for BatchOpportunity
impl Send for BatchOpportunity
impl Sync for BatchOpportunity
impl Unpin for BatchOpportunity
impl UnwindSafe for BatchOpportunity
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