pub struct LiveRequest {
pub decision_id: String,
pub snapshot: Snapshot,
pub expected_snapshot_id: Option<SnapshotId>,
pub evaluation_time: Timestamp,
pub deadline_ms: Option<u64>,
pub principal_handle: Vec<u8>,
pub subject: Handle,
pub scope: Scope,
pub capture: Option<CaptureConfig>,
pub historical: Option<HistoricalLink>,
}Expand description
One live re-execution to run. Nothing here is taken from a replay bundle.
Fields§
§decision_id: StringA new decision id: never the historical one, and not running.
snapshot: SnapshotThe current snapshot, validated by the normal snapshot contract.
expected_snapshot_id: Option<SnapshotId>The identity the caller believes the snapshot has, if it states one. Never trusted: the runtime computes the identity, and a different stated identity is refused.
evaluation_time: TimestampSupplied anew; never read from a clock or a historical record.
deadline_ms: Option<u64>Can only tighten the plan’s deadline_ms.
principal_handle: Vec<u8>Passed through to backends, as for decide.
subject: HandleOpaque, non-secret subject and scope presented to the authorizer.
scope: Scope§capture: Option<CaptureConfig>The new run’s own capture; off unless the host chooses it.
historical: Option<HistoricalLink>The historical case this run may later be compared with, by link.
Trait Implementations§
Source§impl Clone for LiveRequest
impl Clone for LiveRequest
Auto Trait Implementations§
impl Freeze for LiveRequest
impl RefUnwindSafe for LiveRequest
impl Send for LiveRequest
impl Sync for LiveRequest
impl Unpin for LiveRequest
impl UnsafeUnpin for LiveRequest
impl UnwindSafe for LiveRequest
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