pub struct AgentParams {
pub agent_type: AgentType,
pub wallet: Option<String>,
pub seed_sol_lamports: Option<u64>,
pub arb_routes: Vec<ArbRouteParams>,
}Expand description
Configuration for an agent to run alongside a backtest session.
Fields§
§agent_type: AgentType§wallet: Option<String>§seed_sol_lamports: Option<u64>§arb_routes: Vec<ArbRouteParams>Trait Implementations§
Source§impl Clone for AgentParams
impl Clone for AgentParams
Source§fn clone(&self) -> AgentParams
fn clone(&self) -> AgentParams
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 AgentParams
impl Debug for AgentParams
Source§impl<'de> Deserialize<'de> for AgentParams
impl<'de> Deserialize<'de> for AgentParams
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 AgentParams
impl RefUnwindSafe for AgentParams
impl Send for AgentParams
impl Sync for AgentParams
impl Unpin for AgentParams
impl UnsafeUnpin for AgentParams
impl UnwindSafe for AgentParams
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