pub struct Recoverable {
pub identity: String,
pub branch: PreservedBranch,
pub checkout: PathBuf,
pub stopped_because: String,
pub recover_command: Vec<String>,
}Expand description
Preserved work that has not been published, and what would land it.
Fields§
§identity: StringThe identity the work belongs to.
branch: PreservedBranchThe branch and why it was preserved.
checkout: PathBufThe checkout the branch can be reached from.
stopped_because: StringWhy the workstream stopped.
recover_command: Vec<String>The argv that lands it, ready to run.
Trait Implementations§
Source§impl Clone for Recoverable
impl Clone for Recoverable
Source§fn clone(&self) -> Recoverable
fn clone(&self) -> Recoverable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Recoverable
impl Debug for Recoverable
Source§impl<'de> Deserialize<'de> for Recoverable
impl<'de> Deserialize<'de> for Recoverable
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 Recoverable
Source§impl PartialEq for Recoverable
impl PartialEq for Recoverable
Source§impl Serialize for Recoverable
impl Serialize for Recoverable
impl StructuralPartialEq for Recoverable
Auto Trait Implementations§
impl Freeze for Recoverable
impl RefUnwindSafe for Recoverable
impl Send for Recoverable
impl Sync for Recoverable
impl Unpin for Recoverable
impl UnsafeUnpin for Recoverable
impl UnwindSafe for Recoverable
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,
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§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.