pub struct ParallelParams {
pub success_count: u16,
pub failure_count: u16,
}Expand description
Threshold configuration for Parallel.
Fields§
§success_count: u16Number of children that must succeed for the node to succeed.
failure_count: u16Number of children that must fail for the node to fail.
Implementations§
Source§impl ParallelParams
impl ParallelParams
Sourcepub fn builder() -> ParallelParamsBuilder
pub fn builder() -> ParallelParamsBuilder
Create an instance of ParallelParams using the builder syntax
Trait Implementations§
Source§impl Clone for ParallelParams
impl Clone for ParallelParams
Source§fn clone(&self) -> ParallelParams
fn clone(&self) -> ParallelParams
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 ParallelParams
impl Debug for ParallelParams
Source§impl<'de> Deserialize<'de> for ParallelParams
impl<'de> Deserialize<'de> for ParallelParams
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 ProvideParamSpec for ParallelParams
impl ProvideParamSpec for ParallelParams
fn provide() -> ParamsSpec
impl Copy for ParallelParams
Auto Trait Implementations§
impl Freeze for ParallelParams
impl RefUnwindSafe for ParallelParams
impl Send for ParallelParams
impl Sync for ParallelParams
impl Unpin for ParallelParams
impl UnsafeUnpin for ParallelParams
impl UnwindSafe for ParallelParams
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