pub struct PullReview {Show 14 fields
pub body: Option<String>,
pub comments_count: Option<i64>,
pub commit_id: Option<String>,
pub dismissed: Option<bool>,
pub html_url: Option<String>,
pub id: Option<i64>,
pub official: Option<bool>,
pub pull_request_url: Option<String>,
pub stale: Option<bool>,
pub state: Option<String>,
pub submitted_at: Option<String>,
pub team: Option<Box<Team>>,
pub updated_at: Option<String>,
pub user: Option<Box<User>>,
}
Expand description
PullReview : PullReview represents a pull request review
Fields§
§body: Option<String>
§comments_count: Option<i64>
§commit_id: Option<String>
§dismissed: Option<bool>
§html_url: Option<String>
§id: Option<i64>
§official: Option<bool>
§pull_request_url: Option<String>
§stale: Option<bool>
§state: Option<String>
ReviewStateType review state type
submitted_at: Option<String>
§team: Option<Box<Team>>
§updated_at: Option<String>
§user: Option<Box<User>>
Implementations§
Source§impl PullReview
impl PullReview
Sourcepub fn new() -> PullReview
pub fn new() -> PullReview
PullReview represents a pull request review
Trait Implementations§
Source§impl Clone for PullReview
impl Clone for PullReview
Source§fn clone(&self) -> PullReview
fn clone(&self) -> PullReview
Returns a copy 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 PullReview
impl Debug for PullReview
Source§impl Default for PullReview
impl Default for PullReview
Source§fn default() -> PullReview
fn default() -> PullReview
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullReview
impl<'de> Deserialize<'de> for PullReview
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 PullReview
impl PartialEq for PullReview
Source§impl Serialize for PullReview
impl Serialize for PullReview
impl StructuralPartialEq for PullReview
Auto Trait Implementations§
impl Freeze for PullReview
impl RefUnwindSafe for PullReview
impl Send for PullReview
impl Sync for PullReview
impl Unpin for PullReview
impl UnwindSafe for PullReview
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