pub struct CapturedTarget {
pub observation: TargetObservation,
pub body_bytes: Bytes,
pub stderr_bytes: Bytes,
}Expand description
A transient target capture used while building and comparing a run.
TargetObservation is the persisted observation stored in a
ComparisonRun. CapturedTarget also carries raw body and stderr bytes so
comparison can inspect complete target output without widening the persisted
run shape.
Fields§
§observation: TargetObservation§body_bytes: Bytes§stderr_bytes: BytesTrait Implementations§
Source§impl Clone for CapturedTarget
impl Clone for CapturedTarget
Source§fn clone(&self) -> CapturedTarget
fn clone(&self) -> CapturedTarget
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 !Freeze for CapturedTarget
impl RefUnwindSafe for CapturedTarget
impl Send for CapturedTarget
impl Sync for CapturedTarget
impl Unpin for CapturedTarget
impl UnsafeUnpin for CapturedTarget
impl UnwindSafe for CapturedTarget
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