pub struct PipelineContext {
pub args: Args,
pub config: Config,
pub registry: AgentRegistry,
pub developer_agent: String,
pub reviewer_agent: String,
pub developer_display: String,
pub reviewer_display: String,
pub repo_root: PathBuf,
pub logger: Logger,
pub colors: Colors,
pub template_context: TemplateContext,
}Expand description
Context for running the pipeline.
Groups together the various parameters needed to run the development/review/commit pipeline, reducing function parameter count and improving maintainability.
Fields§
§args: Args§config: Config§registry: AgentRegistry§developer_agent: String§reviewer_agent: String§developer_display: String§reviewer_display: String§repo_root: PathBuf§logger: Logger§colors: Colors§template_context: TemplateContextAuto Trait Implementations§
impl Freeze for PipelineContext
impl RefUnwindSafe for PipelineContext
impl Send for PipelineContext
impl Sync for PipelineContext
impl Unpin for PipelineContext
impl UnwindSafe for PipelineContext
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
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>
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 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>
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