pub struct PullRequestInfo {
pub number: u64,
pub title: String,
pub state: String,
pub author: String,
pub head_branch: String,
pub base_branch: String,
pub created_at: String,
pub updated_at: String,
}Expand description
Summary information about a pull request.
Fields§
§number: u64PR number.
title: StringPR title.
state: StringPR state (open, closed, merged).
PR author login.
head_branch: StringHead branch name.
base_branch: StringBase branch name.
created_at: StringISO 8601 creation timestamp.
updated_at: StringISO 8601 last update timestamp.
Trait Implementations§
Source§impl Clone for PullRequestInfo
impl Clone for PullRequestInfo
Source§fn clone(&self) -> PullRequestInfo
fn clone(&self) -> PullRequestInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PullRequestInfo
impl RefUnwindSafe for PullRequestInfo
impl Send for PullRequestInfo
impl Sync for PullRequestInfo
impl Unpin for PullRequestInfo
impl UnsafeUnpin for PullRequestInfo
impl UnwindSafe for PullRequestInfo
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