pub struct RefReflogRename {
pub from: String,
pub to: String,
pub append: ReflogUpdate,
}Expand description
Move a branch reflog to a new ref name and append one entry (branch rename).
Fields§
§from: StringFull ref name whose reflog is moved (for example refs/heads/topic).
to: StringDestination ref name (for example refs/heads/new).
append: ReflogUpdateRename entry appended as the newest reflog line on to.
Trait Implementations§
Source§impl Clone for RefReflogRename
impl Clone for RefReflogRename
Source§impl Debug for RefReflogRename
impl Debug for RefReflogRename
impl Eq for RefReflogRename
Source§impl PartialEq for RefReflogRename
impl PartialEq for RefReflogRename
impl StructuralPartialEq for RefReflogRename
Auto Trait Implementations§
impl Freeze for RefReflogRename
impl RefUnwindSafe for RefReflogRename
impl Send for RefReflogRename
impl Sync for RefReflogRename
impl Unpin for RefReflogRename
impl UnsafeUnpin for RefReflogRename
impl UnwindSafe for RefReflogRename
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.