pub struct PullRequestForm<'a> {
pub project: &'a str,
pub source_project: Option<&'a str>,
pub source_branch: &'a str,
pub target_branch: Option<&'a str>,
pub title: &'a str,
pub body: &'a str,
pub draft: bool,
}Expand description
What the “new pull / merge request” form is prefilled with.
Fields§
§project: &'a strThe base (target) project.
source_project: Option<&'a str>The head’s project when it is a fork.
source_branch: &'a str§target_branch: Option<&'a str>§title: &'a str§body: &'a str§draft: boolTrait Implementations§
Source§impl<'a> Clone for PullRequestForm<'a>
impl<'a> Clone for PullRequestForm<'a>
Source§impl<'a> Debug for PullRequestForm<'a>
impl<'a> Debug for PullRequestForm<'a>
Auto Trait Implementations§
impl<'a> Forget for PullRequestForm<'a>
impl<'a> Freeze for PullRequestForm<'a>
impl<'a> Move for PullRequestForm<'a>
impl<'a> RefUnwindSafe for PullRequestForm<'a>
impl<'a> Send for PullRequestForm<'a>
impl<'a> Sync for PullRequestForm<'a>
impl<'a> Unpin for PullRequestForm<'a>
impl<'a> UnsafeUnpin for PullRequestForm<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for PullRequestForm<'a>where
&'a str: 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