pub enum FeedConfig {
Inline {
prices: Vec<PriceTick>,
},
Csv {
path: PathBuf,
},
Stdin,
}Expand description
Source of price data for the agent tick loop.
Variants§
Implementations§
Source§impl FeedConfig
impl FeedConfig
Trait Implementations§
Source§impl Clone for FeedConfig
impl Clone for FeedConfig
Source§fn clone(&self) -> FeedConfig
fn clone(&self) -> FeedConfig
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 FeedConfig
impl Debug for FeedConfig
Source§impl Default for FeedConfig
impl Default for FeedConfig
Source§impl<'de> Deserialize<'de> for FeedConfig
impl<'de> Deserialize<'de> for FeedConfig
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 FeedConfig
impl RefUnwindSafe for FeedConfig
impl Send for FeedConfig
impl Sync for FeedConfig
impl Unpin for FeedConfig
impl UnsafeUnpin for FeedConfig
impl UnwindSafe for FeedConfig
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