#[non_exhaustive]pub struct IssueReclaimGrantArgs {
pub execution_id: ExecutionId,
pub worker_id: WorkerId,
pub worker_instance_id: WorkerInstanceId,
pub lane_id: LaneId,
pub capability_hash: Option<String>,
pub grant_ttl_ms: u64,
pub route_snapshot_json: Option<String>,
pub admission_summary: Option<String>,
pub worker_capabilities: BTreeSet<String>,
pub now: TimestampMs,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.execution_id: ExecutionId§worker_id: WorkerId§worker_instance_id: WorkerInstanceId§lane_id: LaneId§capability_hash: Option<String>§grant_ttl_ms: u64§route_snapshot_json: Option<String>§admission_summary: Option<String>§worker_capabilities: BTreeSet<String>Worker capabilities (parity with IssueClaimGrantArgs). The
Lua primitive ff_issue_reclaim_grant reads these at ARGV[9].
Populated by the SDK admin path from the registered worker’s
WorkerRegistration::capabilities per RFC-024 §3.2 (B-2).
now: TimestampMsCaller-side timestamp for bookkeeping. NOT passed to the Lua FCALL —
ff_issue_reclaim_grant uses redis.call("TIME") for grant_expires_at
(same as ff_issue_claim_grant). Kept for contract symmetry with
IssueClaimGrantArgs and scheduler audit logging.
Implementations§
Source§impl IssueReclaimGrantArgs
impl IssueReclaimGrantArgs
Sourcepub fn new(
execution_id: ExecutionId,
worker_id: WorkerId,
worker_instance_id: WorkerInstanceId,
lane_id: LaneId,
capability_hash: Option<String>,
grant_ttl_ms: u64,
route_snapshot_json: Option<String>,
admission_summary: Option<String>,
worker_capabilities: BTreeSet<String>,
now: TimestampMs,
) -> Self
pub fn new( execution_id: ExecutionId, worker_id: WorkerId, worker_instance_id: WorkerInstanceId, lane_id: LaneId, capability_hash: Option<String>, grant_ttl_ms: u64, route_snapshot_json: Option<String>, admission_summary: Option<String>, worker_capabilities: BTreeSet<String>, now: TimestampMs, ) -> Self
Construct an IssueReclaimGrantArgs. Added alongside
#[non_exhaustive] per RFC-024 §3.2 +
feedback_non_exhaustive_needs_constructor.
Trait Implementations§
Source§impl Clone for IssueReclaimGrantArgs
impl Clone for IssueReclaimGrantArgs
Source§fn clone(&self) -> IssueReclaimGrantArgs
fn clone(&self) -> IssueReclaimGrantArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IssueReclaimGrantArgs
impl Debug for IssueReclaimGrantArgs
Source§impl<'de> Deserialize<'de> for IssueReclaimGrantArgs
impl<'de> Deserialize<'de> for IssueReclaimGrantArgs
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 IssueReclaimGrantArgs
impl RefUnwindSafe for IssueReclaimGrantArgs
impl Send for IssueReclaimGrantArgs
impl Sync for IssueReclaimGrantArgs
impl Unpin for IssueReclaimGrantArgs
impl UnsafeUnpin for IssueReclaimGrantArgs
impl UnwindSafe for IssueReclaimGrantArgs
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