pub struct PullRequestMinimal {
pub id: i32,
pub number: i32,
pub url: String,
pub head: Box<PullRequestMinimalHead>,
pub base: Box<PullRequestMinimalHead>,
}
Fields§
§id: i32
§number: i32
§url: String
§head: Box<PullRequestMinimalHead>
§base: Box<PullRequestMinimalHead>
Implementations§
Source§impl PullRequestMinimal
impl PullRequestMinimal
pub fn new( id: i32, number: i32, url: String, head: PullRequestMinimalHead, base: PullRequestMinimalHead, ) -> PullRequestMinimal
Trait Implementations§
Source§impl Clone for PullRequestMinimal
impl Clone for PullRequestMinimal
Source§fn clone(&self) -> PullRequestMinimal
fn clone(&self) -> PullRequestMinimal
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 PullRequestMinimal
impl Debug for PullRequestMinimal
Source§impl Default for PullRequestMinimal
impl Default for PullRequestMinimal
Source§fn default() -> PullRequestMinimal
fn default() -> PullRequestMinimal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullRequestMinimal
impl<'de> Deserialize<'de> for PullRequestMinimal
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 for PullRequestMinimal
impl PartialEq for PullRequestMinimal
Source§impl Serialize for PullRequestMinimal
impl Serialize for PullRequestMinimal
impl StructuralPartialEq for PullRequestMinimal
Auto Trait Implementations§
impl Freeze for PullRequestMinimal
impl RefUnwindSafe for PullRequestMinimal
impl Send for PullRequestMinimal
impl Sync for PullRequestMinimal
impl Unpin for PullRequestMinimal
impl UnwindSafe for PullRequestMinimal
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