pub struct HarnessReport {
pub scope: Scope,
pub harnesses: Vec<HarnessResult>,
pub warnings: Vec<String>,
}Expand description
The report of sokf harness install --json and sokf harness status --json: one entry
for each harness named, in sokf’s order of the harnesses, with one entry for each part
(CLI-3_AC-20).
Fields§
§scope: ScopeThe scope: project, user, or local.
harnesses: Vec<HarnessResult>The harnesses, in sokf’s order.
warnings: Vec<String>What the user should know of the parts, such as content that an agent may load twice, or a part that may not be an edit.
Implementations§
Source§impl HarnessReport
impl HarnessReport
Sourcepub fn harness(&self, id: &str) -> Option<&HarnessResult>
pub fn harness(&self, id: &str) -> Option<&HarnessResult>
harness returns the result of the harness id.
Trait Implementations§
Source§impl Clone for HarnessReport
impl Clone for HarnessReport
Source§impl Debug for HarnessReport
impl Debug for HarnessReport
impl Eq for HarnessReport
Source§impl JsonSchema for HarnessReport
impl JsonSchema for HarnessReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for HarnessReport
impl PartialEq for HarnessReport
Source§impl Serialize for HarnessReport
impl Serialize for HarnessReport
impl StructuralPartialEq for HarnessReport
Auto Trait Implementations§
impl Forget for HarnessReport
impl Freeze for HarnessReport
impl Move for HarnessReport
impl RefUnwindSafe for HarnessReport
impl Send for HarnessReport
impl Sync for HarnessReport
impl Unpin for HarnessReport
impl UnsafeUnpin for HarnessReport
impl UnwindSafe for HarnessReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.