pub struct PatchDispatchResult {
pub label: String,
pub patch_version: u32,
pub fitness_before: f32,
pub fitness_after: f32,
pub dispatched: bool,
pub skip_reason: Option<PatchSkipReason>,
pub adapter_output: Option<Value>,
pub adapter_name: Option<String>,
}Expand description
Result of attempting to dispatch one procedural patch node.
Fields§
§label: String§patch_version: u32§fitness_before: f32§fitness_after: f32§dispatched: bool§skip_reason: Option<PatchSkipReason>§adapter_output: Option<Value>Output from a registered crate::PatchAdapter, if any ran successfully.
adapter_name: Option<String>Name of the adapter that was invoked (including on execution failure).
Trait Implementations§
Source§impl Clone for PatchDispatchResult
impl Clone for PatchDispatchResult
Source§fn clone(&self) -> PatchDispatchResult
fn clone(&self) -> PatchDispatchResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PatchDispatchResult
impl RefUnwindSafe for PatchDispatchResult
impl Send for PatchDispatchResult
impl Sync for PatchDispatchResult
impl Unpin for PatchDispatchResult
impl UnsafeUnpin for PatchDispatchResult
impl UnwindSafe for PatchDispatchResult
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