pub struct MapReduceConfig {
pub input: String,
pub workers: Vec<FighterId>,
}Expand description
Configuration for a MapReduce operation.
Fields§
§input: StringThe input data to be split and distributed.
workers: Vec<FighterId>The workers to distribute to.
Trait Implementations§
Source§impl Clone for MapReduceConfig
impl Clone for MapReduceConfig
Source§fn clone(&self) -> MapReduceConfig
fn clone(&self) -> MapReduceConfig
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 moreAuto Trait Implementations§
impl Freeze for MapReduceConfig
impl RefUnwindSafe for MapReduceConfig
impl Send for MapReduceConfig
impl Sync for MapReduceConfig
impl Unpin for MapReduceConfig
impl UnsafeUnpin for MapReduceConfig
impl UnwindSafe for MapReduceConfig
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