pub struct ReflogPosition {
pub refname: String,
pub oid: Oid,
pub index: usize,
pub time: i64,
pub message: String,
}Expand description
Where in a reflog a ref held a given value: what a blocked undo offers (“restore main to where Commit left it”).
Fields§
§refname: StringFull ref name.
oid: OidThe value to restore the ref to.
index: usize0 is the newest entry.
time: i64§message: StringTrait Implementations§
Source§impl Clone for ReflogPosition
impl Clone for ReflogPosition
Source§impl Debug for ReflogPosition
impl Debug for ReflogPosition
Source§impl<'de> Deserialize<'de> for ReflogPosition
impl<'de> Deserialize<'de> for ReflogPosition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReflogPosition
Source§impl PartialEq for ReflogPosition
impl PartialEq for ReflogPosition
Source§impl Serialize for ReflogPosition
impl Serialize for ReflogPosition
impl StructuralPartialEq for ReflogPosition
Auto Trait Implementations§
impl Forget for ReflogPosition
impl Freeze for ReflogPosition
impl Move for ReflogPosition
impl RefUnwindSafe for ReflogPosition
impl Send for ReflogPositionwhere
RawVecInner: Send,
impl Sync for ReflogPositionwhere
RawVecInner: Sync,
impl Unpin for ReflogPosition
impl UnsafeUnpin for ReflogPosition
impl UnwindSafe for ReflogPositionwhere
RawVecInner: 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