pub struct PrCreateResult {
pub pr_number: u64,
pub url: String,
pub branch: String,
pub base: String,
pub title: String,
pub draft: bool,
pub files_changed: u32,
pub additions: u64,
pub deletions: u64,
}Expand description
Result from creating a pull request.
Fields§
§pr_number: u64PR number.
url: StringPR URL.
branch: StringHead branch.
base: StringBase branch.
title: StringPR title.
draft: boolWhether the PR is a draft.
files_changed: u32Number of files changed.
additions: u64Number of additions.
deletions: u64Number of deletions.
Trait Implementations§
Source§impl Debug for PrCreateResult
impl Debug for PrCreateResult
Auto Trait Implementations§
impl Freeze for PrCreateResult
impl RefUnwindSafe for PrCreateResult
impl Send for PrCreateResult
impl Sync for PrCreateResult
impl Unpin for PrCreateResult
impl UnsafeUnpin for PrCreateResult
impl UnwindSafe for PrCreateResult
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more