pub enum GetPullRequestError {
EncryptionIntegrityChecksFailed(String),
EncryptionKeyAccessDenied(String),
EncryptionKeyDisabled(String),
EncryptionKeyNotFound(String),
EncryptionKeyUnavailable(String),
InvalidPullRequestId(String),
PullRequestDoesNotExist(String),
PullRequestIdRequired(String),
}Expand description
Errors returned by GetPullRequest
Variants§
EncryptionIntegrityChecksFailed(String)
An encryption integrity check failed.
EncryptionKeyAccessDenied(String)
An encryption key could not be accessed.
EncryptionKeyDisabled(String)
The encryption key is disabled.
EncryptionKeyNotFound(String)
No encryption key was found.
The encryption key is not available.
InvalidPullRequestId(String)
The pull request ID is not valid. Make sure that you have provided the full ID and that the pull request is in the specified repository, and then try again.
PullRequestDoesNotExist(String)
The pull request ID could not be found. Make sure that you have specified the correct repository name and pull request ID, and then try again.
PullRequestIdRequired(String)
A pull request ID is required, but none was provided.
Implementations§
Source§impl GetPullRequestError
impl GetPullRequestError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetPullRequestError>
Trait Implementations§
Source§impl Debug for GetPullRequestError
impl Debug for GetPullRequestError
Source§impl Display for GetPullRequestError
impl Display for GetPullRequestError
Source§impl Error for GetPullRequestError
impl Error for GetPullRequestError
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 PartialEq for GetPullRequestError
impl PartialEq for GetPullRequestError
impl StructuralPartialEq for GetPullRequestError
Auto Trait Implementations§
impl Freeze for GetPullRequestError
impl RefUnwindSafe for GetPullRequestError
impl Send for GetPullRequestError
impl Sync for GetPullRequestError
impl Unpin for GetPullRequestError
impl UnwindSafe for GetPullRequestError
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