pub struct Manifest {
pub generation: u64,
pub created: u64,
pub updated: u64,
pub entities: Vec<EntityRef>,
pub starts: BTreeMap<String, Value>,
pub budget: Value,
pub lifecycle: Value,
pub config_digest: BTreeMap<String, String>,
pub retired: Vec<EntityRef>,
}Expand description
The instance manifest (RFC 0025 §3.3 manifest).
Fields§
§generation: u64§created: u64§updated: u64§entities: Vec<EntityRef>§starts: BTreeMap<String, Value>Start-node state per <workflow>.<node> (last fired, iteration, missed).
budget: ValueBudget counters per window/scope (RFC 0026 §7).
lifecycle: Value§config_digest: BTreeMap<String, String>The digest of the settings that shaped this state (RFC 0033 §3.3), section name -> hex. A signal, not a key: a mismatch is reported at restore and the state is resumed anyway. Empty on a manifest written before this existed, which is why an empty side never compares (an upgrade must not announce that everything moved).
retired: Vec<EntityRef>Records an earlier --fresh abandoned (RFC 0033 §3.2). They are still in
the store — --fresh deletes nothing — but they belong to a superseded
generation, so the list reconciliation in Durable::restore must not
re-adopt them and undo the flag one boot later.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Manifest
impl<'de> Deserialize<'de> for Manifest
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 StructuralPartialEq for Manifest
Auto Trait Implementations§
impl Freeze for Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnsafeUnpin for Manifest
impl UnwindSafe for Manifest
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