pub struct AuthorCase {
pub name: Symbol,
pub source_payload: String,
pub goal: String,
pub contract_cards: Vec<RankedContractCard>,
pub target_codec: Symbol,
pub return_shape_expr: Expr,
pub return_shape: Arc<dyn Shape>,
pub expected_form: Expr,
}Expand description
One deterministic authoring case.
Fields§
§name: SymbolStable case id.
source_payload: StringBaseline source prompt used by AuthorArm::SourcePayload.
goal: StringHuman goal used by contract-native authoring arms.
contract_cards: Vec<RankedContractCard>Ranked contract cards projected into the model request.
target_codec: SymbolCodec used for terminal model output.
return_shape_expr: ExprData expression naming the return shape in model-request metadata.
return_shape: Arc<dyn Shape>Return shape checked after decoding and realization.
expected_form: ExprDeterministic form returned by accepting fake runners.
Implementations§
Trait Implementations§
Source§impl Clone for AuthorCase
impl Clone for AuthorCase
Source§fn clone(&self) -> AuthorCase
fn clone(&self) -> AuthorCase
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 !RefUnwindSafe for AuthorCase
impl !UnwindSafe for AuthorCase
impl Freeze for AuthorCase
impl Send for AuthorCase
impl Sync for AuthorCase
impl Unpin for AuthorCase
impl UnsafeUnpin for AuthorCase
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