pub struct CreatePullRequest {
pub title: String,
pub body: String,
pub head: String,
pub base: String,
pub draft: bool,
}Expand description
Request to create a pull request.
Fields§
§title: StringPR title.
body: StringPR body.
head: StringHead branch.
base: StringBase branch.
draft: boolWhether to create as draft.
Trait Implementations§
Source§impl Debug for CreatePullRequest
impl Debug for CreatePullRequest
Auto Trait Implementations§
impl Freeze for CreatePullRequest
impl RefUnwindSafe for CreatePullRequest
impl Send for CreatePullRequest
impl Sync for CreatePullRequest
impl Unpin for CreatePullRequest
impl UnwindSafe for CreatePullRequest
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