pub struct RetargetRequest {
pub repo: String,
pub change: Url,
pub base: String,
pub body: Option<String>,
pub remove_restored_base: bool,
}Expand description
A change request to move onto another base.
Fields§
§repo: StringThe identity (normalized origin) or a registered checkout path.
change: UrlThe change request, by URL.
base: StringThe base it should target.
body: Option<String>A description written in the same request as the base change.
remove_restored_base: boolDelete the previous base branch after the move — only one reopen_change restored.
Trait Implementations§
Source§impl Clone for RetargetRequest
impl Clone for RetargetRequest
Source§impl Debug for RetargetRequest
impl Debug for RetargetRequest
Source§impl<'de> Deserialize<'de> for RetargetRequest
impl<'de> Deserialize<'de> for RetargetRequest
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 RetargetRequest
Source§impl PartialEq for RetargetRequest
impl PartialEq for RetargetRequest
Source§impl Serialize for RetargetRequest
impl Serialize for RetargetRequest
impl StructuralPartialEq for RetargetRequest
Auto Trait Implementations§
impl Freeze for RetargetRequest
impl RefUnwindSafe for RetargetRequest
impl Send for RetargetRequest
impl Sync for RetargetRequest
impl Unpin for RetargetRequest
impl UnsafeUnpin for RetargetRequest
impl UnwindSafe for RetargetRequest
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.