pub struct DispatchConfig {
pub gate: Option<String>,
pub setup: Option<String>,
pub model: Option<String>,
pub max_seconds: Option<u64>,
pub max_turns: Option<u32>,
pub max_cost: Option<f64>,
pub fold_budget: Option<usize>,
pub network: Option<String>,
pub env: BTreeMap<String, String>,
pub allow_read: Vec<String>,
}Fields§
§gate: Option<String>§setup: Option<String>§model: Option<String>§max_seconds: Option<u64>§max_turns: Option<u32>§max_cost: Option<f64>§fold_budget: Option<usize>§network: Option<String>§env: BTreeMap<String, String>§allow_read: Vec<String>Trait Implementations§
Source§impl Clone for DispatchConfig
impl Clone for DispatchConfig
Source§impl Debug for DispatchConfig
impl Debug for DispatchConfig
Source§impl Default for DispatchConfig
impl Default for DispatchConfig
Source§impl<'de> Deserialize<'de> for DispatchConfig
impl<'de> Deserialize<'de> for DispatchConfig
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 PartialEq for DispatchConfig
impl PartialEq for DispatchConfig
impl StructuralPartialEq for DispatchConfig
Auto Trait Implementations§
impl Forget for DispatchConfig
impl Freeze for DispatchConfig
impl Move for DispatchConfig
impl RefUnwindSafe for DispatchConfig
impl Send for DispatchConfig
impl Sync for DispatchConfig
impl Unpin for DispatchConfig
impl UnsafeUnpin for DispatchConfig
impl UnwindSafe for DispatchConfig
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