pub struct OnOrigin {
pub remote: String,
pub commit: String,
}Expand description
Where a branch was last put on its identity’s origin without being published.
The readback of what onevcs preserve recorded, and the answer to one question:
if this host went away now, is the work somewhere that outlives it? Both halves
are needed to answer it — the origin says where, and the commit says how much,
since a branch preserved and then committed to again is on its origin at a commit
that is no longer its tip.
Fields§
§remote: StringThe origin URL the branch went to.
commit: StringThe commit the origin carries it at.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OnOrigin
impl<'de> Deserialize<'de> for OnOrigin
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 OnOrigin
impl StructuralPartialEq for OnOrigin
Auto Trait Implementations§
impl Freeze for OnOrigin
impl RefUnwindSafe for OnOrigin
impl Send for OnOrigin
impl Sync for OnOrigin
impl Unpin for OnOrigin
impl UnsafeUnpin for OnOrigin
impl UnwindSafe for OnOrigin
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.