pub struct DatasetJobRequest {
pub slots: SlotRange,
pub dataset: DatasetJobSpec,
}Expand description
Request body of POST /dataset-jobs. Resubmitting it answers with the same job, re-running
it if it failed or was cancelled.
Fields§
§slots: SlotRangeInclusive; sent as start_slot and end_slot.
dataset: DatasetJobSpecWhich dataset to build.
Trait Implementations§
Source§impl Clone for DatasetJobRequest
impl Clone for DatasetJobRequest
Source§impl Debug for DatasetJobRequest
impl Debug for DatasetJobRequest
Source§impl<'de> Deserialize<'de> for DatasetJobRequest
impl<'de> Deserialize<'de> for DatasetJobRequest
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 DatasetJobRequest
Source§impl PartialEq for DatasetJobRequest
impl PartialEq for DatasetJobRequest
Source§impl Serialize for DatasetJobRequest
impl Serialize for DatasetJobRequest
impl StructuralPartialEq for DatasetJobRequest
Auto Trait Implementations§
impl Forget for DatasetJobRequest
impl Freeze for DatasetJobRequestwhere
*const LeafNode<PredictTable, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(PredictTable, SetValZST)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<ProgramOverride>: Freeze,
*const LeafNode<Address, AccountData> is !null: Freeze,
PhantomData<Box<(Address, AccountData)>>: Freeze,
impl Move for DatasetJobRequest
impl RefUnwindSafe for DatasetJobRequest
impl Send for DatasetJobRequestwhere
NodeRef<Owned, PredictTable, SetValZST, LeafOrInternal>: Send,
BoxRaw<(PredictTable, SetValZST)>: Send,
RawVecInner: Send,
NodeRef<Owned, Address, AccountData, LeafOrInternal>: Send,
BoxRaw<(Address, AccountData)>: Send,
impl Sync for DatasetJobRequestwhere
NodeRef<Owned, PredictTable, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(PredictTable, SetValZST)>: Sync,
RawVecInner: Sync,
NodeRef<Owned, Address, AccountData, LeafOrInternal>: Sync,
BoxRaw<(Address, AccountData)>: Sync,
impl Unpin for DatasetJobRequestwhere
*const LeafNode<PredictTable, SetValZST> is !null: Unpin,
Box<(PredictTable, SetValZST)>: Unpin,
*const u8 is !null: Unpin,
*const LeafNode<Address, AccountData> is !null: Unpin,
Box<(Address, AccountData)>: Unpin,
impl UnsafeUnpin for DatasetJobRequestwhere
*const LeafNode<PredictTable, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(PredictTable, SetValZST)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<ProgramOverride>: UnsafeUnpin,
*const LeafNode<Address, AccountData> is !null: UnsafeUnpin,
PhantomData<Box<(Address, AccountData)>>: UnsafeUnpin,
impl UnwindSafe for DatasetJobRequestwhere
BTreeMap<PredictTable, SetValZST>: UnwindSafe,
RawVecInner: UnwindSafe,
BTreeMap<Address, AccountData>: UnwindSafe,
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