pub struct SpinoffProposal {
pub schema_version: u32,
pub proposal_id: ProposalId,
pub run_id: RunId,
pub node_id: NodeId,
pub proposed_at: DateTime<Utc>,
pub proposed_title: String,
pub proposed_kind: Kind,
pub rationale: Option<String>,
pub status: SpinoffStatus,
pub accepted_as_issue_slug: Option<String>,
pub rejected_reason: Option<String>,
pub resolved_at: Option<DateTime<Utc>>,
}Expand description
spinoffs/<proposal-id>.json (design.md §1.5).
Fields§
§schema_version: u32State-schema version this file was written with.
proposal_id: ProposalIdUnique proposal identifier. Validated on read; this is the projection’s
filename key, so it can never name a path outside spinoffs/.
run_id: RunIdRun this proposal belongs to. Validated on read.
node_id: NodeIdNode that proposed the spin-off. Validated on read.
proposed_at: DateTime<Utc>When the proposal was made.
proposed_title: StringSuggested title for the spun-off work.
proposed_kind: KindSuggested kind for the spun-off run.
rationale: Option<String>Why the agent proposed this spin-off.
status: SpinoffStatusProposed / approved / rejected.
accepted_as_issue_slug: Option<String>Issue slug the proposal was promoted to, once approved.
rejected_reason: Option<String>Reason recorded when the proposal is rejected.
resolved_at: Option<DateTime<Utc>>When the proposal was approved or rejected, if it has been.
Trait Implementations§
Source§impl Clone for SpinoffProposal
impl Clone for SpinoffProposal
Source§fn clone(&self) -> SpinoffProposal
fn clone(&self) -> SpinoffProposal
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 SpinoffProposal
impl Debug for SpinoffProposal
Source§impl<'de> Deserialize<'de> for SpinoffProposal
impl<'de> Deserialize<'de> for SpinoffProposal
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 SpinoffProposal
impl RefUnwindSafe for SpinoffProposal
impl Send for SpinoffProposal
impl Sync for SpinoffProposal
impl Unpin for SpinoffProposal
impl UnsafeUnpin for SpinoffProposal
impl UnwindSafe for SpinoffProposal
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