pub struct ExecutionProfileRevision {Show 13 fields
pub id: String,
pub revision: u64,
pub content_digest: String,
pub mode: ExecutionMode,
pub durability_grade: DurabilityGrade,
pub trigger_provider: String,
pub data_provider: String,
pub clock_model: String,
pub action_provider: String,
pub models: BTreeMap<String, Value>,
pub environment: Value,
pub policy_bundle: Value,
pub connection_bindings: BTreeMap<String, String>,
}Expand description
Immutable execution profile: mode, durability grade and provider bindings an instance pins.
Fields§
§id: StringStable identifier of this record.
revision: u64Monotonic revision number.
content_digest: StringContent hash that makes the referenced artifact immutable.
mode: ExecutionModeExecution mode this record was produced under.
durability_grade: DurabilityGradeDurability the deployment guarantees for this profile.
trigger_provider: StringProvider that feeds triggers.
data_provider: StringProvider that feeds market or reference data.
clock_model: StringClock source; database is the only kernel-supported value.
action_provider: StringProvider that dispatches actions.
models: BTreeMap<String, Value>Model bindings by role.
environment: ValueEnvironment settings the product interprets.
policy_bundle: ValueProduct policy bundle applied to permissions and guards.
connection_bindings: BTreeMap<String, String>Named external connections by role.
Implementations§
Source§impl ExecutionProfileRevision
impl ExecutionProfileRevision
Sourcepub fn validate(&self) -> Result<(), ContractError>
pub fn validate(&self) -> Result<(), ContractError>
Reject blank identifiers and provider names.
Trait Implementations§
Source§impl Clone for ExecutionProfileRevision
impl Clone for ExecutionProfileRevision
Source§fn clone(&self) -> ExecutionProfileRevision
fn clone(&self) -> ExecutionProfileRevision
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 ExecutionProfileRevision
impl Debug for ExecutionProfileRevision
Source§impl<'de> Deserialize<'de> for ExecutionProfileRevision
impl<'de> Deserialize<'de> for ExecutionProfileRevision
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 ExecutionProfileRevision
impl PartialEq for ExecutionProfileRevision
Source§impl Serialize for ExecutionProfileRevision
impl Serialize for ExecutionProfileRevision
impl StructuralPartialEq for ExecutionProfileRevision
Auto Trait Implementations§
impl Freeze for ExecutionProfileRevision
impl RefUnwindSafe for ExecutionProfileRevision
impl Send for ExecutionProfileRevision
impl Sync for ExecutionProfileRevision
impl Unpin for ExecutionProfileRevision
impl UnsafeUnpin for ExecutionProfileRevision
impl UnwindSafe for ExecutionProfileRevision
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