pub struct PullView {
pub author: Option<String>,
pub base: Option<String>,
pub body: Option<String>,
pub created_at: Option<String>,
pub head: Option<String>,
pub merged_rev: Option<String>,
pub number: Option<i32>,
pub repo: Option<String>,
pub state: Option<String>,
pub title: Option<String>,
pub updated_at: Option<String>,
}Fields§
Author is the user who opened it; empty for a caller with no user.
base: Option<String>Base is the branch the work is proposed into.
body: Option<String>Body is the longer description; empty when none was given.
created_at: Option<String>CreatedAt is RFC 3339 UTC.
head: Option<String>Head is the branch holding the work.
merged_rev: Option<String>MergedRev is what base points at now that the merge landed. Empty while the proposal is open.
number: Option<i32>Number is the proposal’s per-repo handle, dense from 1.
repo: Option<String>Repo is the repository the proposal belongs to.
state: Option<String>State is "open" or "merged".
title: Option<String>Title is the one-line summary.
updated_at: Option<String>UpdatedAt is RFC 3339 UTC.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PullView
impl<'de> Deserialize<'de> for PullView
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 StructuralPartialEq for PullView
Auto Trait Implementations§
impl Freeze for PullView
impl RefUnwindSafe for PullView
impl Send for PullView
impl Sync for PullView
impl Unpin for PullView
impl UnsafeUnpin for PullView
impl UnwindSafe for PullView
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