pub struct SplitProposal {
pub should_split: bool,
pub reason: String,
pub stacked: bool,
pub parts: Vec<SplitPart>,
}Expand description
One agent’s decomposition of an issue or a pull request.
Deliberately one proposal rather than two. Two agents asked to decompose the same thing return two decompositions that cannot be reconciled mechanically, and reconciling them is a third judgement nobody asked for.
Fields§
§should_split: bool§reason: String§stacked: boolWhether the parts are sequential, so each is based on its predecessor rather than on the base branch. A property of the change, not of the repository, which is why it rides on the proposal.
parts: Vec<SplitPart>Trait Implementations§
Source§impl Clone for SplitProposal
impl Clone for SplitProposal
Source§fn clone(&self) -> SplitProposal
fn clone(&self) -> SplitProposal
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 SplitProposal
impl Debug for SplitProposal
Source§impl Default for SplitProposal
impl Default for SplitProposal
Source§fn default() -> SplitProposal
fn default() -> SplitProposal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SplitProposal
impl<'de> Deserialize<'de> for SplitProposal
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 SplitProposal
impl RefUnwindSafe for SplitProposal
impl Send for SplitProposal
impl Sync for SplitProposal
impl Unpin for SplitProposal
impl UnsafeUnpin for SplitProposal
impl UnwindSafe for SplitProposal
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