pub struct IssueReclaimGrantRequest {
pub worker_id: String,
pub worker_instance_id: String,
pub lane_id: String,
pub capability_hash: Option<String>,
pub grant_ttl_ms: u64,
pub route_snapshot_json: Option<String>,
pub admission_summary: Option<String>,
pub worker_capabilities: Vec<String>,
}Expand description
Request body for POST /v1/executions/{execution_id}/reclaim
(RFC-024 §3.5).
Mirrors ff_server::api::IssueReclaimGrantBody 1:1. The
execution_id goes in the URL path, not the body.
Fields§
§worker_id: StringWorker identity requesting the grant. The Lua
ff_reclaim_execution validates grant consumption via
grant.worker_id == args.worker_id (RFC-024 §4.4) — the
worker consuming the grant must match this value.
worker_instance_id: StringWorker-instance identity. Informational at grant-issuance time; stored on the grant so consumers can correlate events.
lane_id: StringLane the execution belongs to. Needed by
ff_issue_reclaim_grant for KEYS[*] construction.
capability_hash: Option<String>Opaque capability-hash token stored verbatim on the issued
grant for audit / downstream observability. NOT used for
admission — admission compares worker_capabilities against
the execution’s required_capabilities (see the
FlowFabricAdminClient::issue_reclaim_grant rustdoc).
None leaves the field empty on the grant.
grant_ttl_ms: u64Grant TTL in milliseconds. Bounded server-side.
route_snapshot_json: Option<String>Route snapshot JSON carried onto the grant for audit.
admission_summary: Option<String>Admission summary string carried onto the grant for audit.
worker_capabilities: Vec<String>Worker capability tokens. Consumers typically source these
from their registered worker’s WorkerConfig::capabilities
(see FlowFabricAdminClient::issue_reclaim_grant rustdoc
for the override contract).
Trait Implementations§
Source§impl Clone for IssueReclaimGrantRequest
impl Clone for IssueReclaimGrantRequest
Source§fn clone(&self) -> IssueReclaimGrantRequest
fn clone(&self) -> IssueReclaimGrantRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IssueReclaimGrantRequest
impl Debug for IssueReclaimGrantRequest
Auto Trait Implementations§
impl Freeze for IssueReclaimGrantRequest
impl RefUnwindSafe for IssueReclaimGrantRequest
impl Send for IssueReclaimGrantRequest
impl Sync for IssueReclaimGrantRequest
impl Unpin for IssueReclaimGrantRequest
impl UnsafeUnpin for IssueReclaimGrantRequest
impl UnwindSafe for IssueReclaimGrantRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more