pub struct HarnessDescriptor {
pub label: String,
pub skills_dir: Option<String>,
pub config_dirs: Vec<String>,
pub run: RunSection,
pub tools: ToolsSection,
pub staging: StagingSection,
pub skills_block: Option<SkillsBlockSection>,
pub transcript: Option<TranscriptSection>,
pub model: Option<ModelSection>,
pub guard: Option<GuardSection>,
pub shadow: Option<ShadowSection>,
pub dispatch: DispatchSection,
}Expand description
A parsed, schema-checked, invariant-checked harness descriptor.
Field docs live in schema/harness-descriptor.schema.json (the schema gate
and this struct are kept honest against each other by
validate_against_schema’s deserialize step).
Fields§
§label: String§skills_dir: Option<String>§config_dirs: Vec<String>§run: RunSection§tools: ToolsSection§staging: StagingSection§skills_block: Option<SkillsBlockSection>§transcript: Option<TranscriptSection>§model: Option<ModelSection>§guard: Option<GuardSection>§shadow: Option<ShadowSection>§dispatch: DispatchSectionTrait Implementations§
Source§impl Clone for HarnessDescriptor
impl Clone for HarnessDescriptor
Source§fn clone(&self) -> HarnessDescriptor
fn clone(&self) -> HarnessDescriptor
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 HarnessDescriptor
impl Debug for HarnessDescriptor
Source§impl<'de> Deserialize<'de> for HarnessDescriptor
impl<'de> Deserialize<'de> for HarnessDescriptor
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 HarnessDescriptor
impl RefUnwindSafe for HarnessDescriptor
impl Send for HarnessDescriptor
impl Sync for HarnessDescriptor
impl Unpin for HarnessDescriptor
impl UnsafeUnpin for HarnessDescriptor
impl UnwindSafe for HarnessDescriptor
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