pub struct RollbackReceipt {
pub surface: SurfaceKey,
pub from: CandidateId,
pub to: Option<CandidateId>,
pub cause: String,
pub rolled_back_at: DateTime<Utc>,
}Expand description
The journaled rollback receipt — the CandidateRolledBack event’s
output payload.
Fields§
§surface: SurfaceKeyThe surface whose pointer re-pointed.
from: CandidateIdThe candidate rolled back (the version that was serving).
to: Option<CandidateId>The candidate re-pointed to (None: the static version serves
again — revert-to-default is always a legal rollback).
cause: StringThe causing evidence: what prompted the rollback (a drift observation’s journal ids, an operator’s statement naming the evidence). Free text by design — wave 4’s drift monitor will write it with the same shape operators use now.
rolled_back_at: DateTime<Utc>When the rollback executed.
Trait Implementations§
Source§impl Clone for RollbackReceipt
impl Clone for RollbackReceipt
Source§impl Debug for RollbackReceipt
impl Debug for RollbackReceipt
Source§impl<'de> Deserialize<'de> for RollbackReceipt
impl<'de> Deserialize<'de> for RollbackReceipt
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 RollbackReceipt
impl PartialEq for RollbackReceipt
Source§impl Serialize for RollbackReceipt
impl Serialize for RollbackReceipt
impl StructuralPartialEq for RollbackReceipt
Auto Trait Implementations§
impl Freeze for RollbackReceipt
impl RefUnwindSafe for RollbackReceipt
impl Send for RollbackReceipt
impl Sync for RollbackReceipt
impl Unpin for RollbackReceipt
impl UnsafeUnpin for RollbackReceipt
impl UnwindSafe for RollbackReceipt
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