pub struct RemoteRefMoved {
pub remote: String,
pub name: String,
pub expected: Option<Oid>,
pub actual: Option<Oid>,
}Expand description
What UndoRefusal::RemoteRefMoved says (boxed there: the refusal travels
in every error, and strings would make all of them bigger).
Fields§
§remote: String§name: StringThe full ref name (refs/heads/x, refs/tags/v1).
expected: Option<Oid>What the entry expected the remote to hold (None: nothing).
actual: Option<Oid>Trait Implementations§
Source§impl Clone for RemoteRefMoved
impl Clone for RemoteRefMoved
Source§impl Debug for RemoteRefMoved
impl Debug for RemoteRefMoved
Source§impl<'de> Deserialize<'de> for RemoteRefMoved
impl<'de> Deserialize<'de> for RemoteRefMoved
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RemoteRefMoved
Source§impl PartialEq for RemoteRefMoved
impl PartialEq for RemoteRefMoved
Source§impl Serialize for RemoteRefMoved
impl Serialize for RemoteRefMoved
impl StructuralPartialEq for RemoteRefMoved
Auto Trait Implementations§
impl Forget for RemoteRefMoved
impl Freeze for RemoteRefMoved
impl Move for RemoteRefMoved
impl RefUnwindSafe for RemoteRefMoved
impl Send for RemoteRefMovedwhere
RawVecInner: Send,
impl Sync for RemoteRefMovedwhere
RawVecInner: Sync,
impl Unpin for RemoteRefMoved
impl UnsafeUnpin for RemoteRefMoved
impl UnwindSafe for RemoteRefMovedwhere
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