pub struct StateMeta {
pub tags: Vec<Tag>,
pub depends_on: Vec<Tag>,
pub depends_on_strategy: DependencyStrategy,
pub side_effects: SideEffectKind,
pub idempotency: Idempotency,
}Expand description
State metadata used for policy decisions and validation.
Notes:
depends_onis an authoring-time hint (often used by planners).- Execution correctness is governed by explicit plan edges.
Fields§
Classification tags applied to the state.
depends_on: Vec<Tag>Optional authoring-time dependency hints expressed as tags.
depends_on_strategy: DependencyStrategyStrategy used when resolving tag-based dependency hints.
side_effects: SideEffectKindSide-effect classification used by replay and retry policy.
idempotency: IdempotencyDeclared idempotency behavior for the state.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StateMeta
impl<'de> Deserialize<'de> for StateMeta
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 StateMeta
impl StructuralPartialEq for StateMeta
Auto Trait Implementations§
impl Freeze for StateMeta
impl RefUnwindSafe for StateMeta
impl Send for StateMeta
impl Sync for StateMeta
impl Unpin for StateMeta
impl UnsafeUnpin for StateMeta
impl UnwindSafe for StateMeta
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