pub struct DepthRequest {
pub start_slot: u64,
pub end_slot: u64,
pub selection: DepthSelection,
}Expand description
Request body of POST /generate-depth.
Sessions start and stop at snapshot boundaries, so the captured range can extend beyond
start_slot/end_slot; DepthStatusResponse::capture reports the range actually captured.
A range with no bundles first waits for them to build.
Fields§
§start_slot: u64First slot requested, inclusive; the capture may start earlier. Each row is filed under the UTC date its slot falls on.
end_slot: u64Last slot requested, inclusive; the capture may end later.
selection: DepthSelectionWhat to measure over the range; sent beside the slots.
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 Forget for DepthRequest
impl Freeze for DepthRequest
impl Move 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