pub struct EnqueueTicket {
pub task_id: String,
pub challenge: String,
pub nonce: u64,
pub request: EnqueueRequest,
}Expand description
Request body for POST /api/v1/enqueue: the redemption of an
EnqueueAdmission.
Fields§
§task_id: StringCanonical task id carried by the admission.
challenge: StringThe admission’s server-issued challenge.
nonce: u64Client-computed nonce such that
blake3(task_id ‖ challenge ‖ nonce) has at least the required
number of leading zero bits.
request: EnqueueRequestThe canonical enqueue request from the admission. The edge recomputes the challenge HMAC over this payload and forwards it to the scheduler — no server-side request lookup.
Trait Implementations§
Source§impl Clone for EnqueueTicket
impl Clone for EnqueueTicket
Source§impl ComposeSchema for EnqueueTicket
impl ComposeSchema for EnqueueTicket
Source§impl Debug for EnqueueTicket
impl Debug for EnqueueTicket
Source§impl<'de> Deserialize<'de> for EnqueueTicket
impl<'de> Deserialize<'de> for EnqueueTicket
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
Source§impl Serialize for EnqueueTicket
impl Serialize for EnqueueTicket
Auto Trait Implementations§
impl Freeze for EnqueueTicket
impl RefUnwindSafe for EnqueueTicket
impl Send for EnqueueTicket
impl Sync for EnqueueTicket
impl Unpin for EnqueueTicket
impl UnsafeUnpin for EnqueueTicket
impl UnwindSafe for EnqueueTicket
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