pub struct GitExecArgs {
pub operation: String,
pub url: Option<String>,
pub path: Option<String>,
pub branch: Option<String>,
pub message: Option<String>,
pub files: Option<Vec<String>>,
pub commit_sha: Option<String>,
pub timeout_secs: Option<u64>,
}Expand description
Arguments for the GitExec capability.
Fields§
§operation: StringGit operation to perform (clone, pull, commit, revert, clean, status).
url: Option<String>Repository URL (for clone/pull).
path: Option<String>Local path to repository (for clone/commit/revert/clean/status).
branch: Option<String>Branch name (for checkout/clone).
message: Option<String>Commit message (for commit).
files: Option<Vec<String>>Files to commit (for commit).
commit_sha: Option<String>Commit SHA to revert to (for revert).
timeout_secs: Option<u64>Timeout in seconds (default: 300).
Trait Implementations§
Source§impl Clone for GitExecArgs
impl Clone for GitExecArgs
Source§fn clone(&self) -> GitExecArgs
fn clone(&self) -> GitExecArgs
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 GitExecArgs
impl Debug for GitExecArgs
Source§impl<'de> Deserialize<'de> for GitExecArgs
impl<'de> Deserialize<'de> for GitExecArgs
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 GitExecArgs
impl RefUnwindSafe for GitExecArgs
impl Send for GitExecArgs
impl Sync for GitExecArgs
impl Unpin for GitExecArgs
impl UnsafeUnpin for GitExecArgs
impl UnwindSafe for GitExecArgs
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