pub struct BundleRefUpdatePlan {
pub name: String,
pub old_oid: Option<ObjectId>,
pub new_oid: ObjectId,
}Expand description
One ref movement that would occur when applying bundle header tips locally.
Fields§
§name: StringRef to update.
old_oid: Option<ObjectId>Current tip when the ref exists locally.
new_oid: ObjectIdTip from the bundle header.
Trait Implementations§
Source§impl Clone for BundleRefUpdatePlan
impl Clone for BundleRefUpdatePlan
Source§impl Debug for BundleRefUpdatePlan
impl Debug for BundleRefUpdatePlan
impl Eq for BundleRefUpdatePlan
Source§impl PartialEq for BundleRefUpdatePlan
impl PartialEq for BundleRefUpdatePlan
impl StructuralPartialEq for BundleRefUpdatePlan
Auto Trait Implementations§
impl Freeze for BundleRefUpdatePlan
impl RefUnwindSafe for BundleRefUpdatePlan
impl Send for BundleRefUpdatePlan
impl Sync for BundleRefUpdatePlan
impl Unpin for BundleRefUpdatePlan
impl UnsafeUnpin for BundleRefUpdatePlan
impl UnwindSafe for BundleRefUpdatePlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.