pub struct RecoverRequest {
pub repo: PathBuf,
pub branch: String,
pub title: Option<Subject>,
pub body: Option<String>,
pub term_scope: TermScope,
}Expand description
What to recover, for the branch-keyed verb that takes work a step left behind.
Fields§
§repo: PathBufThe repository the branch belongs to, as --repo takes one.
branch: StringThe branch to recover.
title: Option<Subject>The subject to land it under, or none to compose one from its commits.
body: Option<String>The body of the change request, where one is opened.
term_scope: TermScopeWhich private repositories the public boundary check derives its terms from.
Trait Implementations§
Source§impl Clone for RecoverRequest
impl Clone for RecoverRequest
Source§impl Debug for RecoverRequest
impl Debug for RecoverRequest
impl Eq for RecoverRequest
Source§impl PartialEq for RecoverRequest
impl PartialEq for RecoverRequest
impl StructuralPartialEq for RecoverRequest
Auto Trait Implementations§
impl Freeze for RecoverRequest
impl RefUnwindSafe for RecoverRequest
impl Send for RecoverRequest
impl Sync for RecoverRequest
impl Unpin for RecoverRequest
impl UnsafeUnpin for RecoverRequest
impl UnwindSafe for RecoverRequest
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,
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.