pub struct GitOperation {
pub kind: GitOpKind,
pub detail: String,
}Expand description
A detected git operation.
Fields§
§kind: GitOpKind§detail: StringExtracted data (commit SHA, branch name, PR URL, etc.)
Trait Implementations§
Source§impl Clone for GitOperation
impl Clone for GitOperation
Source§fn clone(&self) -> GitOperation
fn clone(&self) -> GitOperation
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 moreAuto Trait Implementations§
impl Freeze for GitOperation
impl RefUnwindSafe for GitOperation
impl Send for GitOperation
impl Sync for GitOperation
impl Unpin for GitOperation
impl UnsafeUnpin for GitOperation
impl UnwindSafe for GitOperation
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