pub struct InterventionSpec {
pub implementation: Digest,
pub tensor: Digest,
pub max_invocations: u32,
}Expand description
Exact contract for one ordered state intervention.
Fields§
§implementation: DigestCaller-defined implementation and configuration identity.
tensor: DigestExact tensor contract accepted by the stage.
max_invocations: u32Maximum invocations in one pipeline run.
Implementations§
Trait Implementations§
Source§impl Clone for InterventionSpec
impl Clone for InterventionSpec
Source§impl Debug for InterventionSpec
impl Debug for InterventionSpec
Source§impl<'de> Deserialize<'de> for InterventionSpec
impl<'de> Deserialize<'de> for InterventionSpec
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 InterventionSpec
Source§impl PartialEq for InterventionSpec
impl PartialEq for InterventionSpec
Source§impl Serialize for InterventionSpec
impl Serialize for InterventionSpec
impl StructuralPartialEq for InterventionSpec
Auto Trait Implementations§
impl Freeze for InterventionSpec
impl RefUnwindSafe for InterventionSpec
impl Send for InterventionSpec
impl Sync for InterventionSpec
impl Unpin for InterventionSpec
impl UnsafeUnpin for InterventionSpec
impl UnwindSafe for InterventionSpec
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