Skip to main content

CheckpointParams

Struct CheckpointParams 

Source
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: PipelinePhase

Current pipeline phase

§iteration: u32

Current developer iteration number

§total_iterations: u32

Total developer iterations configured

§reviewer_pass: u32

Current reviewer pass number

§total_reviewer_passes: u32

Total reviewer passes configured

§developer_agent: &'a str

Display name of the developer agent

§reviewer_agent: &'a str

Display name of the reviewer agent

§cli_args: CliArgsSnapshot

Snapshot of CLI arguments

§developer_agent_config: AgentConfigSnapshot

Snapshot of developer agent configuration

§reviewer_agent_config: AgentConfigSnapshot

Snapshot of reviewer agent configuration

§rebase_state: RebaseState

Current 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 str

Unique identifier for this run (UUID v4)

§parent_run_id: Option<&'a str>

Parent run ID if this is a resumed session

§resume_count: u32

Number of times this session has been resumed

§actual_developer_runs: u32

Actual completed developer iterations

§actual_reviewer_runs: u32

Actual 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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.