pub struct DurableControlReceipt {
pub receipt_id: String,
pub target: ManagedRunTarget,
pub operation_id: String,
pub operation: String,
pub idempotency_key: String,
pub command_fingerprint: String,
pub fencing_generation: u64,
pub state: String,
pub created_at: DateTime<Utc>,
}Expand description
Durable receipt stored independently from a process-local control handle.
Fields§
§receipt_id: StringStable receipt id.
target: ManagedRunTargetComposite target.
operation_id: StringSteering/interruption operation id.
operation: StringOperation category.
idempotency_key: StringIdempotency key.
command_fingerprint: StringSafe normalized fingerprint.
fencing_generation: u64Matching owner generation.
state: StringEffect state. Durable admission uses pending, delivered, consumed, or reconciled;
legacy compatibility paths may retain historical reserved, accepted, or failed.
created_at: DateTime<Utc>Creation time.
Trait Implementations§
Source§impl Clone for DurableControlReceipt
impl Clone for DurableControlReceipt
Source§fn clone(&self) -> DurableControlReceipt
fn clone(&self) -> DurableControlReceipt
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 DurableControlReceipt
impl Debug for DurableControlReceipt
Source§impl<'de> Deserialize<'de> for DurableControlReceipt
impl<'de> Deserialize<'de> for DurableControlReceipt
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 DurableControlReceipt
Source§impl PartialEq for DurableControlReceipt
impl PartialEq for DurableControlReceipt
Source§impl Serialize for DurableControlReceipt
impl Serialize for DurableControlReceipt
impl StructuralPartialEq for DurableControlReceipt
Source§impl VersionedRecord for DurableControlReceipt
impl VersionedRecord for DurableControlReceipt
Source§const SCHEMA: &'static str = "starweaver.session.durable_control_receipt"
const SCHEMA: &'static str = "starweaver.session.durable_control_receipt"
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 DurableControlReceipt
impl RefUnwindSafe for DurableControlReceipt
impl Send for DurableControlReceipt
impl Sync for DurableControlReceipt
impl Unpin for DurableControlReceipt
impl UnsafeUnpin for DurableControlReceipt
impl UnwindSafe for DurableControlReceipt
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