pub struct PrReport {Show 13 fields
pub feature: String,
pub branch: String,
pub base: String,
pub remote: String,
pub title: String,
pub body: String,
pub commands: Vec<String>,
pub opened: bool,
pub url: Option<String>,
pub held_out_ref: Option<String>,
pub held_out_tasks: Vec<String>,
pub held_out_withheld: usize,
pub evidence_check: String,
}Expand description
Result of speccoder pr: a draft pull request with the evidence.
Fields§
§feature: StringFeature directory name.
branch: Stringspeccoder/<feature>.
base: StringThe branch the pull request targets.
remote: StringThe git remote pushed to.
title: StringPull request title.
body: StringPull request body (Markdown): every task’s evidence.
commands: Vec<String>What runs (or would run), in order.
opened: boolWhether the branch was pushed and the draft opened (false: a dry run).
url: Option<String>The pull request, when opened.
held_out_ref: Option<String>The unit’s held-out ref pushed with the branch
(refs/speccoder/held-out/<unit>), when a closed task names a set.
held_out_tasks: Vec<String>The tasks closed on the pushed head whose held-out sets it carries.
held_out_withheld: usizeHeld-out sets of open tasks: they stay local.
evidence_check: Stringpresent: a workflow under .github/workflows/ runs
speccoder attest verify --branch; absent: none does.
Trait Implementations§
impl Eq for PrReport
Source§impl JsonSchema for PrReport
impl JsonSchema for PrReport
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 moreimpl StructuralPartialEq for PrReport
Auto Trait Implementations§
impl Freeze for PrReport
impl RefUnwindSafe for PrReport
impl Send for PrReport
impl Sync for PrReport
impl Unpin for PrReport
impl UnsafeUnpin for PrReport
impl UnwindSafe for PrReport
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