pub struct ActionObservation {
pub id: String,
pub action_intent_id: String,
pub provider_version: String,
pub observed_at: DateTime<Utc>,
pub state: String,
pub resource_ref: Option<Value>,
pub raw_receipt_digest: String,
pub terminal: bool,
pub retry_authorized: bool,
}Expand description
Observed state of a dispatched action.
Fields§
§id: StringStable identifier of this record.
action_intent_id: StringIntent this refers to.
provider_version: StringProvider version that produced it.
observed_at: DateTime<Utc>When the state was observed.
state: StringCurrent lifecycle state.
resource_ref: Option<Value>External resource created or affected.
raw_receipt_digest: StringDigest of the raw provider response; deduplicates receipts.
terminal: boolWhether this observation ends the action.
A reconciliation provider sets this only after proving that repeating the same idempotent action is safe.
Trait Implementations§
Source§impl Clone for ActionObservation
impl Clone for ActionObservation
Source§fn clone(&self) -> ActionObservation
fn clone(&self) -> ActionObservation
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 ActionObservation
impl Debug for ActionObservation
Source§impl<'de> Deserialize<'de> for ActionObservation
impl<'de> Deserialize<'de> for ActionObservation
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
Source§impl PartialEq for ActionObservation
impl PartialEq for ActionObservation
Source§impl Serialize for ActionObservation
impl Serialize for ActionObservation
impl StructuralPartialEq for ActionObservation
Auto Trait Implementations§
impl Freeze for ActionObservation
impl RefUnwindSafe for ActionObservation
impl Send for ActionObservation
impl Sync for ActionObservation
impl Unpin for ActionObservation
impl UnsafeUnpin for ActionObservation
impl UnwindSafe for ActionObservation
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