pub struct PullRequestSummary {Show 15 fields
pub number: u64,
pub iid_label: String,
pub title: String,
pub state: PullRequestState,
pub source_branch: String,
pub target_branch: String,
pub source_project: Option<String>,
pub author: String,
pub web_url: String,
pub updated_at: String,
pub review_requested: bool,
pub assignees: Vec<String>,
pub reviewers: Vec<String>,
pub checks: Option<ChecksState>,
pub has_conflicts: Option<bool>,
}Fields§
§number: u64GitHub number / GitLab iid.
iid_label: StringWhat the host’s own UI shows: #12 (GitHub) or !53 (GitLab).
title: String§state: PullRequestState§source_branch: String§target_branch: String§source_project: Option<String>The fork the source branch lives in, when it is not the target project itself.
web_url: String§updated_at: StringISO-8601 as the host sent it.
review_requested: boolThe current user is asked to review it.
assignees: Vec<String>Logins of the people it is assigned to.
reviewers: Vec<String>Logins of the people asked to review it.
checks: Option<ChecksState>The state of the head commit’s checks (CI); None = unknown or not
asked (GitHub only answers it on request, see PrFilter::checks).
has_conflicts: Option<bool>Whether the request conflicts with its target; None = unknown.
Trait Implementations§
Source§impl Clone for PullRequestSummary
impl Clone for PullRequestSummary
Source§impl Debug for PullRequestSummary
impl Debug for PullRequestSummary
Source§impl Default for PullRequestSummary
impl Default for PullRequestSummary
Source§impl<'de> Deserialize<'de> for PullRequestSummary
impl<'de> Deserialize<'de> for PullRequestSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PullRequestSummary
Source§impl PartialEq for PullRequestSummary
impl PartialEq for PullRequestSummary
Source§impl Serialize for PullRequestSummary
impl Serialize for PullRequestSummary
impl StructuralPartialEq for PullRequestSummary
Auto Trait Implementations§
impl Forget for PullRequestSummary
impl Freeze for PullRequestSummary
impl Move for PullRequestSummary
impl RefUnwindSafe for PullRequestSummary
impl Send for PullRequestSummary
impl Sync for PullRequestSummary
impl Unpin for PullRequestSummary
impl UnsafeUnpin for PullRequestSummary
impl UnwindSafe for PullRequestSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.