pub struct WebhooksReview {
pub _links: Box<WebhooksReviewLinks>,
pub author_association: AuthorAssociation,
pub body: Option<String>,
pub commit_id: String,
pub html_url: String,
pub id: i32,
pub node_id: String,
pub pull_request_url: String,
pub state: String,
pub submitted_at: Option<String>,
pub user: Option<Box<User>>,
}
Expand description
WebhooksReview : The review that was affected.
Fields§
§_links: Box<WebhooksReviewLinks>
How the author is associated with the repository.
body: Option<String>
The text of the review.
commit_id: String
A commit SHA for the review.
html_url: String
§id: i32
Unique identifier of the review
node_id: String
§pull_request_url: String
§state: String
§submitted_at: Option<String>
§user: Option<Box<User>>
Implementations§
Source§impl WebhooksReview
impl WebhooksReview
Sourcepub fn new(
_links: WebhooksReviewLinks,
author_association: AuthorAssociation,
body: Option<String>,
commit_id: String,
html_url: String,
id: i32,
node_id: String,
pull_request_url: String,
state: String,
submitted_at: Option<String>,
user: Option<User>,
) -> WebhooksReview
pub fn new( _links: WebhooksReviewLinks, author_association: AuthorAssociation, body: Option<String>, commit_id: String, html_url: String, id: i32, node_id: String, pull_request_url: String, state: String, submitted_at: Option<String>, user: Option<User>, ) -> WebhooksReview
The review that was affected.
Trait Implementations§
Source§impl Clone for WebhooksReview
impl Clone for WebhooksReview
Source§fn clone(&self) -> WebhooksReview
fn clone(&self) -> WebhooksReview
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 WebhooksReview
impl Debug for WebhooksReview
Source§impl Default for WebhooksReview
impl Default for WebhooksReview
Source§fn default() -> WebhooksReview
fn default() -> WebhooksReview
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhooksReview
impl<'de> Deserialize<'de> for WebhooksReview
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 WebhooksReview
impl PartialEq for WebhooksReview
Source§impl Serialize for WebhooksReview
impl Serialize for WebhooksReview
impl StructuralPartialEq for WebhooksReview
Auto Trait Implementations§
impl Freeze for WebhooksReview
impl RefUnwindSafe for WebhooksReview
impl Send for WebhooksReview
impl Sync for WebhooksReview
impl Unpin for WebhooksReview
impl UnwindSafe for WebhooksReview
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