pub struct ExecutionAlgorithmConfig {
pub exec_algorithm_id: Option<ExecAlgorithmId>,
pub log_events: bool,
pub log_commands: bool,
}Expand description
Configuration for an execution algorithm.
Fields§
§exec_algorithm_id: Option<ExecAlgorithmId>The unique ID for the execution algorithm.
log_events: boolIf events should be logged by the algorithm.
log_commands: boolIf commands should be logged by the algorithm.
Implementations§
Source§impl ExecutionAlgorithmConfig
impl ExecutionAlgorithmConfig
Sourcepub fn builder() -> ExecutionAlgorithmConfigBuilder
pub fn builder() -> ExecutionAlgorithmConfigBuilder
Create an instance of ExecutionAlgorithmConfig using the builder syntax
Trait Implementations§
Source§impl Clone for ExecutionAlgorithmConfig
impl Clone for ExecutionAlgorithmConfig
Source§fn clone(&self) -> ExecutionAlgorithmConfig
fn clone(&self) -> ExecutionAlgorithmConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExecutionAlgorithmConfig
impl Debug for ExecutionAlgorithmConfig
Source§impl Default for ExecutionAlgorithmConfig
impl Default for ExecutionAlgorithmConfig
Source§impl<'de> Deserialize<'de> for ExecutionAlgorithmConfig
impl<'de> Deserialize<'de> for ExecutionAlgorithmConfig
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 ExecutionAlgorithmConfig
impl RefUnwindSafe for ExecutionAlgorithmConfig
impl Send for ExecutionAlgorithmConfig
impl Sync for ExecutionAlgorithmConfig
impl Unpin for ExecutionAlgorithmConfig
impl UnsafeUnpin for ExecutionAlgorithmConfig
impl UnwindSafe for ExecutionAlgorithmConfig
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