Struct gix_ref::transaction::RefEdit
source · pub struct RefEdit {
pub change: Change,
pub name: FullName,
pub deref: bool,
}
Expand description
A reference that is to be changed
Fields§
§change: Change
The change itself
name: FullName
The name of the reference to apply the change to
deref: bool
If set, symbolic references identified by name
will be dereferenced to have the change
applied to their target.
This flag has no effect if the reference isn’t symbolic.
Trait Implementations§
source§impl Ord for RefEdit
impl Ord for RefEdit
source§impl PartialEq for RefEdit
impl PartialEq for RefEdit
source§impl PartialOrd for RefEdit
impl PartialOrd for RefEdit
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for RefEdit
impl StructuralPartialEq for RefEdit
Auto Trait Implementations§
impl Freeze for RefEdit
impl RefUnwindSafe for RefEdit
impl Send for RefEdit
impl Sync for RefEdit
impl Unpin for RefEdit
impl UnwindSafe for RefEdit
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