pub struct RefUpdateSpec {
pub ref_name: String,
pub expected_old_oid: Option<Oid>,
pub new_oid: Option<Oid>,
}Expand description
Compare-and-swap reference update specification passed to quarantine_ingest.
Fields§
§ref_name: String§expected_old_oid: Option<Oid>§new_oid: Option<Oid>Trait Implementations§
Source§impl Clone for RefUpdateSpec
impl Clone for RefUpdateSpec
Source§impl Debug for RefUpdateSpec
impl Debug for RefUpdateSpec
impl Eq for RefUpdateSpec
Source§impl PartialEq for RefUpdateSpec
impl PartialEq for RefUpdateSpec
impl StructuralPartialEq for RefUpdateSpec
Auto Trait Implementations§
impl Forget for RefUpdateSpec
impl Freeze for RefUpdateSpec
impl Move for RefUpdateSpec
impl RefUnwindSafe for RefUpdateSpec
impl Send for RefUpdateSpecwhere
RawVecInner: Send,
impl Sync for RefUpdateSpecwhere
RawVecInner: Sync,
impl Unpin for RefUpdateSpec
impl UnsafeUnpin for RefUpdateSpec
impl UnwindSafe for RefUpdateSpecwhere
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