pub struct OutputValidator {
pub path: String,
/* private fields */
}Expand description
A compiled output validator, ready to call.
Compiled once when the agent spawns, so a broken script is a spawn error rather than a surprise at the end of a long run - the worst possible moment to discover the agent cannot hand back its work.
Fields§
§path: StringThe script path as written in the blueprint, for error context.
Trait Implementations§
Source§impl Clone for OutputValidator
impl Clone for OutputValidator
Source§fn clone(&self) -> OutputValidator
fn clone(&self) -> OutputValidator
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for OutputValidator
impl !UnwindSafe for OutputValidator
impl Freeze for OutputValidator
impl Send for OutputValidator
impl Sync for OutputValidator
impl Unpin for OutputValidator
impl UnsafeUnpin for OutputValidator
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