pub struct WorkflowConfig {
pub min_balance_uakt: u64,
pub bid_wait_seconds: u64,
pub max_bid_wait_attempts: u32,
pub max_endpoint_wait_attempts: u32,
pub auto_select_cheapest_bid: bool,
pub trusted_providers: Vec<String>,
}Expand description
Workflow configuration.
Fields§
§min_balance_uakt: u64Minimum balance required to proceed (uakt).
bid_wait_seconds: u64How long to wait between bid checks (seconds).
max_bid_wait_attempts: u32Max attempts to wait for bids.
max_endpoint_wait_attempts: u32Max attempts to wait for endpoints.
auto_select_cheapest_bid: boolAuto-select cheapest bid without user input.
trusted_providers: Vec<String>Trusted providers to prefer.
Trait Implementations§
Source§impl Clone for WorkflowConfig
impl Clone for WorkflowConfig
Source§fn clone(&self) -> WorkflowConfig
fn clone(&self) -> WorkflowConfig
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 WorkflowConfig
impl Debug for WorkflowConfig
Auto Trait Implementations§
impl Freeze for WorkflowConfig
impl RefUnwindSafe for WorkflowConfig
impl Send for WorkflowConfig
impl Sync for WorkflowConfig
impl Unpin for WorkflowConfig
impl UnwindSafe for WorkflowConfig
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