pub struct CreatePullRequest {
pub title: String,
pub description: String,
pub source_branch: String,
pub target_branch: String,
pub source_repo_ref: Option<String>,
pub is_draft: bool,
}Expand description
The body of POST /repos/{repo_ref}/pullreq.
Fields§
§title: String§description: String§source_branch: String§target_branch: String§source_repo_ref: Option<String>§is_draft: boolTrait Implementations§
Source§impl Clone for CreatePullRequest
impl Clone for CreatePullRequest
Source§fn clone(&self) -> CreatePullRequest
fn clone(&self) -> CreatePullRequest
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 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 UnsafeUnpin 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