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<RefEdit> for RefEdit
impl PartialEq<RefEdit> for RefEdit
source§impl PartialOrd<RefEdit> for RefEdit
impl PartialOrd<RefEdit> 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 more