pub struct RefHistory {
pub ref_name: String,
pub entries: Vec<HistoryEntry>,
}Expand description
Read-only history view for a single ref.
Fields§
§ref_name: StringHuman-readable ref name.
entries: Vec<HistoryEntry>Entries ordered from newest to oldest.
Implementations§
Trait Implementations§
Source§impl Clone for RefHistory
impl Clone for RefHistory
Source§fn clone(&self) -> RefHistory
fn clone(&self) -> RefHistory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RefHistory
impl Debug for RefHistory
impl Eq for RefHistory
Source§impl PartialEq for RefHistory
impl PartialEq for RefHistory
impl StructuralPartialEq for RefHistory
Auto Trait Implementations§
impl Freeze for RefHistory
impl RefUnwindSafe for RefHistory
impl Send for RefHistory
impl Sync for RefHistory
impl Unpin for RefHistory
impl UnsafeUnpin for RefHistory
impl UnwindSafe for RefHistory
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