Struct buhtig::PullRequest
source · pub struct PullRequest {Show 22 fields
pub url: String,
pub id: u64,
pub node_id: String,
pub html_url: String,
pub diff_url: String,
pub patch_url: String,
pub number: u64,
pub state: String,
pub locked: bool,
pub title: String,
pub user: User,
pub body: String,
pub labels: Vec<Label>,
pub created_at: String,
pub updated_at: String,
pub closed_at: Option<String>,
pub assignee: Option<User>,
pub assignees: Vec<User>,
pub requested_reviewers: Vec<User>,
pub requested_teams: Vec<Team>,
pub author_association: String,
pub draft: bool,
}
Fields§
§url: String
§id: u64
§node_id: String
§html_url: String
§diff_url: String
§patch_url: String
§number: u64
§state: String
§locked: bool
§title: String
§user: User
§body: String
§labels: Vec<Label>
§created_at: String
§updated_at: String
§closed_at: Option<String>
§assignee: Option<User>
§assignees: Vec<User>
§requested_reviewers: Vec<User>
§requested_teams: Vec<Team>
§draft: bool
Trait Implementations§
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
source§impl PartialEq<PullRequest> for PullRequest
impl PartialEq<PullRequest> for PullRequest
source§fn eq(&self, other: &PullRequest) -> bool
fn eq(&self, other: &PullRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PullRequest
impl StructuralEq for PullRequest
impl StructuralPartialEq for PullRequest
Auto Trait Implementations§
impl RefUnwindSafe for PullRequest
impl Send for PullRequest
impl Sync for PullRequest
impl Unpin for PullRequest
impl UnwindSafe for PullRequest
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.