pub struct PullRequest {Show 13 fields
pub node_id: String,
pub number: u64,
pub title: String,
pub url: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub author: Option<Actor>,
pub repository: RepositoryReference,
pub labels: Vec<Label>,
pub assignees: Vec<Actor>,
pub comment_count: u32,
pub is_draft: bool,
pub review_decision: Option<ReviewDecision>,
}Expand description
An open pull request with complete labels and assignees.
Fields§
§node_id: String§number: u64§title: String§url: String§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§repository: RepositoryReference§labels: Vec<Label>§assignees: Vec<Actor>§comment_count: u32§is_draft: bool§review_decision: Option<ReviewDecision>Trait Implementations§
Source§impl Clone for PullRequest
impl Clone for PullRequest
Source§impl Debug for PullRequest
impl Debug for PullRequest
Source§impl<'de> Deserialize<'de> for PullRequest
impl<'de> Deserialize<'de> for PullRequest
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
Auto Trait Implementations§
impl Freeze for PullRequest
impl RefUnwindSafe for PullRequest
impl Send for PullRequest
impl Sync for PullRequest
impl Unpin for PullRequest
impl UnsafeUnpin for PullRequest
impl UnwindSafe for PullRequest
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