pub struct RefState {
pub ref_name: String,
pub mkit_hash: Hash,
pub git_id: Sha1Id,
}Expand description
Last-exported state for one ref: what the bridge last pushed.
Used as the --force-with-lease expectation (§12.2).
Fields§
§ref_name: String§mkit_hash: Hash§git_id: Sha1IdTrait Implementations§
impl Eq for RefState
impl StructuralPartialEq for RefState
Auto Trait Implementations§
impl Freeze for RefState
impl RefUnwindSafe for RefState
impl Send for RefState
impl Sync for RefState
impl Unpin for RefState
impl UnsafeUnpin for RefState
impl UnwindSafe for RefState
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