pub struct DeclaredExecution {
pub id: ExecutionPolicyId,
pub policy: ExecutionPolicy,
pub fallbacks: Vec<FallbackBinding>,
pub decision_cache: Option<PlanDecisionCache>,
}Fields§
§id: ExecutionPolicyId§policy: ExecutionPolicy§fallbacks: Vec<FallbackBinding>Every runtime fallback target, by step in policy order, then position.
decision_cache: Option<PlanDecisionCache>Present exactly when the policy has decision_cache, and only in a
rustev.plan/3 (spec 044, 3.1).
Trait Implementations§
Source§impl Clone for DeclaredExecution
impl Clone for DeclaredExecution
Source§impl Debug for DeclaredExecution
impl Debug for DeclaredExecution
Source§impl<'de> Deserialize<'de> for DeclaredExecution
impl<'de> Deserialize<'de> for DeclaredExecution
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 DeclaredExecution
Source§impl JsonSchema for DeclaredExecution
impl JsonSchema for DeclaredExecution
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for DeclaredExecution
impl PartialEq for DeclaredExecution
Source§impl Serialize for DeclaredExecution
impl Serialize for DeclaredExecution
impl StructuralPartialEq for DeclaredExecution
Auto Trait Implementations§
impl Freeze for DeclaredExecution
impl RefUnwindSafe for DeclaredExecution
impl Send for DeclaredExecution
impl Sync for DeclaredExecution
impl Unpin for DeclaredExecution
impl UnsafeUnpin for DeclaredExecution
impl UnwindSafe for DeclaredExecution
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