pub struct RefUpdate {
pub name: String,
pub old_oid: Option<String>,
pub new_oid: Option<String>,
}Expand description
Atomic compare-and-swap Git reference update entry.
Fields§
§name: String§old_oid: Option<String>§new_oid: Option<String>Trait Implementations§
impl Eq for RefUpdate
impl StructuralPartialEq for RefUpdate
Auto Trait Implementations§
impl Forget for RefUpdate
impl Freeze for RefUpdate
impl Move for RefUpdate
impl RefUnwindSafe for RefUpdate
impl Send for RefUpdatewhere
RawVecInner: Send,
impl Sync for RefUpdatewhere
RawVecInner: Sync,
impl Unpin for RefUpdate
impl UnsafeUnpin for RefUpdate
impl UnwindSafe for RefUpdatewhere
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