pub enum PullsDeletePendingReviewError {
Status422(ValidationErrorSimple),
Status404(BasicError),
Generic {
code: u16,
},
}Expand description
Errors for the Delete a pending review for a pull request endpoint.
Variants§
Trait Implementations§
Source§impl Error for PullsDeletePendingReviewError
impl Error for PullsDeletePendingReviewError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<PullsDeletePendingReviewError> for AdapterError
impl From<PullsDeletePendingReviewError> for AdapterError
Source§fn from(err: PullsDeletePendingReviewError) -> Self
fn from(err: PullsDeletePendingReviewError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PullsDeletePendingReviewError
impl RefUnwindSafe for PullsDeletePendingReviewError
impl Send for PullsDeletePendingReviewError
impl Sync for PullsDeletePendingReviewError
impl Unpin for PullsDeletePendingReviewError
impl UnwindSafe for PullsDeletePendingReviewError
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