Struct octorust::types::PullsSubmitReviewRequest [−][src]
pub struct PullsSubmitReviewRequest { pub body: String, pub event: PullsSubmitReviewRequestEvent, }
Fields
body: String
The body text of the pull request review
event: PullsSubmitReviewRequestEvent
The review action you want to perform. The review actions include: APPROVE
, REQUEST_CHANGES
, or COMMENT
. When you leave this blank, the API returns HTTP 422 (Unrecognizable entity) and sets the review action state to PENDING
, which means you will need to re-submit the pull request review using a review action.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for PullsSubmitReviewRequest
impl Send for PullsSubmitReviewRequest
impl Sync for PullsSubmitReviewRequest
impl Unpin for PullsSubmitReviewRequest
impl UnwindSafe for PullsSubmitReviewRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more