pub struct ArtifactRef {
pub slug: Arc<str>,
pub text: Arc<str>,
pub map: Arc<SidecarMap>,
}Expand description
A scenario’s emitted artifact, shared with the engine that executes it.
Fields§
§slug: Arc<str>The artifact slug (<slug>.hurl — failure messages point here).
text: Arc<str>The canonical .hurl text (the executed input).
map: Arc<SidecarMap>The sidecar map: entry line ranges ↔ feature anchors ↔ batch indices.
Trait Implementations§
Source§impl Clone for ArtifactRef
impl Clone for ArtifactRef
Source§fn clone(&self) -> ArtifactRef
fn clone(&self) -> ArtifactRef
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 ArtifactRef
impl RefUnwindSafe for ArtifactRef
impl Send for ArtifactRef
impl Sync for ArtifactRef
impl Unpin for ArtifactRef
impl UnsafeUnpin for ArtifactRef
impl UnwindSafe for ArtifactRef
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