pub struct DepthSelection {
pub source: DepthSource,
pub granularity: DepthGranularity,
pub markets: Vec<String>,
pub program_overrides: Vec<ProgramOverride>,
pub account_overrides: AccountModifications,
}Expand description
What a depth job measures over its slot range.
Fields§
§source: DepthSourceWhich side of the venue to measure. The two sources publish separate datasets over the same range.
granularity: DepthGranularityHow often to sample. Default slot; oracle needs the onchain source.
markets: Vec<String>Market ids to sample. Empty samples every market in the source’s universe.
program_overrides: Vec<ProgramOverride>Programs the probes run in place of the deployed ones. onchain only.
account_overrides: AccountModificationsAccounts every probe sees in place of the recorded ones, across the whole range.
onchain only.
Trait Implementations§
Source§impl Clone for DepthSelection
impl Clone for DepthSelection
Source§impl Debug for DepthSelection
impl Debug for DepthSelection
Source§impl Default for DepthSelection
impl Default for DepthSelection
Source§impl<'de> Deserialize<'de> for DepthSelection
impl<'de> Deserialize<'de> for DepthSelection
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
impl Eq for DepthSelection
Source§impl PartialEq for DepthSelection
impl PartialEq for DepthSelection
Source§impl Serialize for DepthSelection
impl Serialize for DepthSelection
impl StructuralPartialEq for DepthSelection
Auto Trait Implementations§
impl Forget for DepthSelection
impl Freeze for DepthSelection
impl Move for DepthSelection
impl RefUnwindSafe for DepthSelection
impl Send for DepthSelection
impl Sync for DepthSelection
impl Unpin for DepthSelection
impl UnsafeUnpin for DepthSelection
impl UnwindSafe for DepthSelection
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