pub struct CheckpointParams<'a> {Show 18 fields
pub phase: PipelinePhase,
pub iteration: u32,
pub total_iterations: u32,
pub reviewer_pass: u32,
pub total_reviewer_passes: u32,
pub developer_agent: &'a str,
pub reviewer_agent: &'a str,
pub cli_args: CliArgsSnapshot,
pub developer_agent_config: AgentConfigSnapshot,
pub reviewer_agent_config: AgentConfigSnapshot,
pub rebase_state: RebaseState,
pub git_user_name: Option<&'a str>,
pub git_user_email: Option<&'a str>,
pub run_id: &'a str,
pub parent_run_id: Option<&'a str>,
pub resume_count: u32,
pub actual_developer_runs: u32,
pub actual_reviewer_runs: u32,
}Expand description
Parameters for creating a new checkpoint.
Groups all the parameters needed to create a checkpoint, avoiding functions with too many individual parameters.
Fields§
§phase: PipelinePhaseCurrent pipeline phase
iteration: u32Current developer iteration number
total_iterations: u32Total developer iterations configured
reviewer_pass: u32Current reviewer pass number
total_reviewer_passes: u32Total reviewer passes configured
developer_agent: &'a strDisplay name of the developer agent
reviewer_agent: &'a strDisplay name of the reviewer agent
cli_args: CliArgsSnapshotSnapshot of CLI arguments
developer_agent_config: AgentConfigSnapshotSnapshot of developer agent configuration
reviewer_agent_config: AgentConfigSnapshotSnapshot of reviewer agent configuration
rebase_state: RebaseStateCurrent rebase state
git_user_name: Option<&'a str>Git user name for commits (if overridden)
git_user_email: Option<&'a str>Git user email for commits (if overridden)
run_id: &'a strUnique identifier for this run (UUID v4)
parent_run_id: Option<&'a str>Parent run ID if this is a resumed session
resume_count: u32Number of times this session has been resumed
actual_developer_runs: u32Actual completed developer iterations
actual_reviewer_runs: u32Actual completed reviewer passes
Auto Trait Implementations§
impl<'a> Freeze for CheckpointParams<'a>
impl<'a> RefUnwindSafe for CheckpointParams<'a>
impl<'a> Send for CheckpointParams<'a>
impl<'a> Sync for CheckpointParams<'a>
impl<'a> Unpin for CheckpointParams<'a>
impl<'a> UnwindSafe for CheckpointParams<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more