pub struct ForkDefinition {
pub branches: Vec<ForkBranch>,
pub compete: Option<bool>,
}
Expand description
Fork definition for parallel execution
Fields§
§branches: Vec<ForkBranch>
Fork branches
compete: Option<bool>
Whether to compete (first to complete wins)
Trait Implementations§
Source§impl Clone for ForkDefinition
impl Clone for ForkDefinition
Source§fn clone(&self) -> ForkDefinition
fn clone(&self) -> ForkDefinition
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 ForkDefinition
impl Debug for ForkDefinition
Source§impl<'de> Deserialize<'de> for ForkDefinition
impl<'de> Deserialize<'de> for ForkDefinition
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 ForkDefinition
impl RefUnwindSafe for ForkDefinition
impl Send for ForkDefinition
impl Sync for ForkDefinition
impl Unpin for ForkDefinition
impl UnwindSafe for ForkDefinition
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