pub struct PullRequestLinks {
pub comments: Link,
pub commits: Link,
pub html: Link,
pub issue: Link,
pub review_comment: Link,
pub review_comments: Link,
pub self_: Link,
pub statuses: Link,
}
Expand description
PullRequestLinks
JSON schema
{
"type": "object",
"required": [
"comments",
"commits",
"html",
"issue",
"review_comment",
"review_comments",
"self",
"statuses"
],
"properties": {
"comments": {
"$ref": "#/definitions/link"
},
"commits": {
"$ref": "#/definitions/link"
},
"html": {
"$ref": "#/definitions/link"
},
"issue": {
"$ref": "#/definitions/link"
},
"review_comment": {
"$ref": "#/definitions/link"
},
"review_comments": {
"$ref": "#/definitions/link"
},
"self": {
"$ref": "#/definitions/link"
},
"statuses": {
"$ref": "#/definitions/link"
}
},
"additionalProperties": false
}
Fields§
§comments: Link
§commits: Link
§html: Link
§issue: Link
§review_comment: Link
§review_comments: Link
§self_: Link
§statuses: Link
Implementations§
Source§impl PullRequestLinks
impl PullRequestLinks
pub fn builder() -> PullRequestLinks
Trait Implementations§
Source§impl Clone for PullRequestLinks
impl Clone for PullRequestLinks
Source§fn clone(&self) -> PullRequestLinks
fn clone(&self) -> PullRequestLinks
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 moreSource§impl Debug for PullRequestLinks
impl Debug for PullRequestLinks
Source§impl<'de> Deserialize<'de> for PullRequestLinks
impl<'de> Deserialize<'de> for PullRequestLinks
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 From<&PullRequestLinks> for PullRequestLinks
impl From<&PullRequestLinks> for PullRequestLinks
Source§fn from(value: &PullRequestLinks) -> Self
fn from(value: &PullRequestLinks) -> Self
Converts to this type from the input type.
Source§impl From<PullRequestLinks> for PullRequestLinks
impl From<PullRequestLinks> for PullRequestLinks
Source§fn from(value: PullRequestLinks) -> Self
fn from(value: PullRequestLinks) -> Self
Converts to this type from the input type.
Source§impl Serialize for PullRequestLinks
impl Serialize for PullRequestLinks
Source§impl TryFrom<PullRequestLinks> for PullRequestLinks
impl TryFrom<PullRequestLinks> for PullRequestLinks
Auto Trait Implementations§
impl Freeze for PullRequestLinks
impl RefUnwindSafe for PullRequestLinks
impl Send for PullRequestLinks
impl Sync for PullRequestLinks
impl Unpin for PullRequestLinks
impl UnwindSafe for PullRequestLinks
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