pub struct DurableRunControlIntent {Show 15 fields
pub operation_id: String,
pub target: ManagedRunTarget,
pub authority_binding: String,
pub admission_id: String,
pub host_instance_id: String,
pub fencing_generation: u64,
pub idempotency_key: String,
pub command_fingerprint: String,
pub receipt: DurableControlReceipt,
pub effect: DurableRunControlEffect,
pub status: DurableRunControlStatus,
pub created_at: DateTime<Utc>,
pub delivered_at: Option<DateTime<Utc>>,
pub consumed_at: Option<DateTime<Utc>>,
pub reconciled_at: Option<DateTime<Utc>>,
}Expand description
Receipt plus durable steering inbox entry or interrupt intent.
Fields§
§operation_id: StringRuntime deduplication identity.
target: ManagedRunTargetComposite run target.
Product authority binding.
admission_id: StringAdmission identity that owned the run when the effect was accepted.
host_instance_id: StringHost authority that owned the admission.
fencing_generation: u64Monotonic fencing generation.
idempotency_key: StringAuthority-scoped idempotency key.
command_fingerprint: StringCanonical command fingerprint.
receipt: DurableControlReceiptDurable public receipt reserved in the same transaction.
effect: DurableRunControlEffectSteering inbox entry or interrupt intent.
status: DurableRunControlStatusCurrent durable effect state.
created_at: DateTime<Utc>Admission time.
delivered_at: Option<DateTime<Utc>>First durable runtime-delivery acknowledgement.
consumed_at: Option<DateTime<Utc>>First durable runtime-consumption acknowledgement.
reconciled_at: Option<DateTime<Utc>>Recovery reconciliation time.
Implementations§
Source§impl DurableRunControlIntent
impl DurableRunControlIntent
Sourcepub fn matches_admission(&self, request: &AdmitRunControl) -> bool
pub fn matches_admission(&self, request: &AdmitRunControl) -> bool
Return whether this intent has exactly the admission identity supplied by a retry.
Trait Implementations§
Source§impl Clone for DurableRunControlIntent
impl Clone for DurableRunControlIntent
Source§fn clone(&self) -> DurableRunControlIntent
fn clone(&self) -> DurableRunControlIntent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DurableRunControlIntent
impl Debug for DurableRunControlIntent
Source§impl<'de> Deserialize<'de> for DurableRunControlIntent
impl<'de> Deserialize<'de> for DurableRunControlIntent
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 DurableRunControlIntent
Source§impl PartialEq for DurableRunControlIntent
impl PartialEq for DurableRunControlIntent
Source§impl Serialize for DurableRunControlIntent
impl Serialize for DurableRunControlIntent
impl StructuralPartialEq for DurableRunControlIntent
Source§impl VersionedRecord for DurableRunControlIntent
impl VersionedRecord for DurableRunControlIntent
Source§const SCHEMA: &'static str = "starweaver.session.durable_run_control_intent"
const SCHEMA: &'static str = "starweaver.session.durable_run_control_intent"
Stable schema identifier.
Source§const ALLOW_BARE_V0: bool = false
const ALLOW_BARE_V0: bool = false
Whether this record explicitly accepts a previous bare-JSON v0 shape.
Source§fn decode_version(
version: u32,
payload: Value,
) -> Result<Self, VersionedRecordError>where
Self: DeserializeOwned,
fn decode_version(
version: u32,
payload: Value,
) -> Result<Self, VersionedRecordError>where
Self: DeserializeOwned,
Decode one enveloped payload version. Read more
Source§fn decode_bare_v0(payload: Value) -> Result<Self, VersionedRecordError>where
Self: DeserializeOwned,
fn decode_bare_v0(payload: Value) -> Result<Self, VersionedRecordError>where
Self: DeserializeOwned,
Decode the explicitly supported bare-JSON v0 shape. Read more
Auto Trait Implementations§
impl Freeze for DurableRunControlIntent
impl RefUnwindSafe for DurableRunControlIntent
impl Send for DurableRunControlIntent
impl Sync for DurableRunControlIntent
impl Unpin for DurableRunControlIntent
impl UnsafeUnpin for DurableRunControlIntent
impl UnwindSafe for DurableRunControlIntent
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