pub struct GitRemoteConfig {
pub auth_method: GitAuthMethod,
pub push_branch: Option<String>,
pub create_pr: bool,
pub pr_title_template: Option<String>,
pub pr_body_template: Option<String>,
pub pr_base_branch: Option<String>,
pub force_push: bool,
pub remote_name: String,
}Expand description
Git remote configuration (internal).
Loaded from environment variables when cloud mode is enabled.
Fields§
§auth_method: GitAuthMethodAuthentication method for git operations
push_branch: Option<String>Branch to push to (defaults to current branch)
create_pr: boolWhether to create a PR instead of direct push
pr_title_template: Option<String>PR title template (supports {run_id}, {prompt_summary} placeholders)
pr_body_template: Option<String>PR body template
pr_base_branch: Option<String>Base branch for PR (defaults to main/master)
force_push: boolWhether to force push (dangerous, disabled by default)
remote_name: StringRemote name (defaults to “origin”)
Implementations§
Trait Implementations§
Source§impl Clone for GitRemoteConfig
impl Clone for GitRemoteConfig
Source§fn clone(&self) -> GitRemoteConfig
fn clone(&self) -> GitRemoteConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 GitRemoteConfig
impl Debug for GitRemoteConfig
Source§impl Default for GitRemoteConfig
impl Default for GitRemoteConfig
Source§impl PartialEq for GitRemoteConfig
impl PartialEq for GitRemoteConfig
impl StructuralPartialEq for GitRemoteConfig
Auto Trait Implementations§
impl Freeze for GitRemoteConfig
impl RefUnwindSafe for GitRemoteConfig
impl Send for GitRemoteConfig
impl Sync for GitRemoteConfig
impl Unpin for GitRemoteConfig
impl UnsafeUnpin for GitRemoteConfig
impl UnwindSafe for GitRemoteConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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