Struct git_ref_format_core::refspec::Refspec
source · pub struct Refspec<T, U> {
pub src: T,
pub dst: U,
pub force: bool,
}
Expand description
Fields§
§src: T
§dst: U
§force: bool
Trait Implementations§
source§impl<T: PartialEq, U: PartialEq> PartialEq<Refspec<T, U>> for Refspec<T, U>
impl<T: PartialEq, U: PartialEq> PartialEq<Refspec<T, U>> for Refspec<T, U>
impl<T: Eq, U: Eq> Eq for Refspec<T, U>
impl<T, U> StructuralEq for Refspec<T, U>
impl<T, U> StructuralPartialEq for Refspec<T, U>
Auto Trait Implementations§
impl<T, U> RefUnwindSafe for Refspec<T, U>where T: RefUnwindSafe, U: RefUnwindSafe,
impl<T, U> Send for Refspec<T, U>where T: Send, U: Send,
impl<T, U> Sync for Refspec<T, U>where T: Sync, U: Sync,
impl<T, U> Unpin for Refspec<T, U>where T: Unpin, U: Unpin,
impl<T, U> UnwindSafe for Refspec<T, U>where T: UnwindSafe, U: UnwindSafe,
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