Enum git_repository::remote::Direction
source · pub enum Direction {
Push,
Fetch,
}
Expand description
The direction of an operation carried out (or to be carried out) through a remote.
Variants
Push
Push local changes to the remote.
Fetch
Fetch changes from the remote to the local repository.
Implementations
Trait Implementations
impl Copy for Direction
impl Eq for Direction
impl StructuralEq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnwindSafe for Direction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more