Crate peace_cfg

source ·
Expand description

Configuration model for the peace automation library.

This crate defines the API for logic and data to be used in the peace framework.

Re-exports§

  • pub use crate::state::State;

Modules§

Macros§

  • Returns a const AppName validated at compile time.
  • Returns a const FlowId validated at compile time.
  • Returns a const ItemId validated at compile time.
  • Returns a const Profile validated at compile time.

Structs§

  • Name of the application that is run by end users.
  • Error indicating AppName provided is not in the correct format.
  • Identifier or name of a process flow.
  • Error indicating FlowId provided is not in the correct format.
  • References to pass information between the Peace framework and an item.
  • Unique identifier for an ItemId, Cow<'static, str> newtype.
  • Error indicating ItemId provided is not in the correct format.
  • Identifier or namespace to distinguish execution environments.
  • Error indicating Profile provided is not in the correct format.

Enums§

  • Whether the apply function needs to be executed.

Traits§

  • Defines all of the data and logic to manage an item.

Attribute Macros§