pub struct InterventionPlan {
pub schema_version: u32,
pub operations: Vec<InterventionOperation>,
}Expand description
Serializable request. Only admission produces an executable immutable plan.
Fields§
§schema_version: u32Intervention wire version.
operations: Vec<InterventionOperation>Activation operations compose in list order; routing overlaps are rejected.
Implementations§
Source§impl InterventionPlan
impl InterventionPlan
Sourcepub fn admit(
self,
discovery: &InterventionDiscovery,
request: CaptureRequestShape,
session_id: &str,
) -> Result<AdmittedInterventionPlan, CaptureError>
pub fn admit( self, discovery: &InterventionDiscovery, request: CaptureRequestShape, session_id: &str, ) -> Result<AdmittedInterventionPlan, CaptureError>
Validates all known constraints without creating or evaluating native values. The facade supplies its loaded session identity, never an application catalog.
Trait Implementations§
Source§impl Clone for InterventionPlan
impl Clone for InterventionPlan
Source§fn clone(&self) -> InterventionPlan
fn clone(&self) -> InterventionPlan
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 InterventionPlan
impl Debug for InterventionPlan
Source§impl<'de> Deserialize<'de> for InterventionPlan
impl<'de> Deserialize<'de> for InterventionPlan
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 InterventionPlan
impl PartialEq for InterventionPlan
Source§impl Serialize for InterventionPlan
impl Serialize for InterventionPlan
impl StructuralPartialEq for InterventionPlan
Auto Trait Implementations§
impl Freeze for InterventionPlan
impl RefUnwindSafe for InterventionPlan
impl Send for InterventionPlan
impl Sync for InterventionPlan
impl Unpin for InterventionPlan
impl UnsafeUnpin for InterventionPlan
impl UnwindSafe for InterventionPlan
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