pub struct DepthRequest {
pub start_slot: u64,
pub end_slot: u64,
pub source: DepthSource,
pub markets: Vec<String>,
}Expand description
Request body of POST /generate-depth.
Fields§
§start_slot: u64First slot to sample, inclusive. The UTC date it falls on becomes the dataset’s partition key.
end_slot: u64Last slot to sample, inclusive.
source: DepthSourceWhich side of the venue to measure. The two sources publish separate datasets over the same range.
markets: Vec<String>Market ids to sample. Empty samples every market in the source’s universe.
Trait Implementations§
Source§impl Clone for DepthRequest
impl Clone for DepthRequest
Source§impl Debug for DepthRequest
impl Debug for DepthRequest
Source§impl Default for DepthRequest
impl Default for DepthRequest
Source§impl<'de> Deserialize<'de> for DepthRequest
impl<'de> Deserialize<'de> for DepthRequest
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 DepthRequest
impl RefUnwindSafe for DepthRequest
impl Send for DepthRequest
impl Sync for DepthRequest
impl Unpin for DepthRequest
impl UnsafeUnpin for DepthRequest
impl UnwindSafe for DepthRequest
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