#[non_exhaustive]pub struct FixtureEnvelope {
pub harness_id: Option<String>,
pub harness_session_id: Option<String>,
pub harness_version: Option<String>,
pub cwd: Option<String>,
pub name: Option<String>,
pub parent_harness_session_id: Option<String>,
pub harness_metadata: Option<Value>,
}Expand description
The envelope side of a case. org_id / auth_subject are deliberately not
modelled — they are not the producer’s to emit (see module docs).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.harness_id: Option<String>Harness id; absent means the case expects the unknown sentinel.
harness_session_id: Option<String>Opaque harness-side session id.
harness_version: Option<String>Harness version string.
cwd: Option<String>Harness working directory, decoded.
name: Option<String>User-given session name, decoded and untruncated.
parent_harness_session_id: Option<String>Fork-parent’s harness session id.
harness_metadata: Option<Value>Free-form harness metadata, as JSON rather than base64url.
Trait Implementations§
Source§impl Clone for FixtureEnvelope
impl Clone for FixtureEnvelope
Source§fn clone(&self) -> FixtureEnvelope
fn clone(&self) -> FixtureEnvelope
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 moreSource§impl Debug for FixtureEnvelope
impl Debug for FixtureEnvelope
Source§impl<'de> Deserialize<'de> for FixtureEnvelope
impl<'de> Deserialize<'de> for FixtureEnvelope
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
Auto Trait Implementations§
impl Freeze for FixtureEnvelope
impl RefUnwindSafe for FixtureEnvelope
impl Send for FixtureEnvelope
impl Sync for FixtureEnvelope
impl Unpin for FixtureEnvelope
impl UnsafeUnpin for FixtureEnvelope
impl UnwindSafe for FixtureEnvelope
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