pub enum GetPullRequestApprovalStatesError {
EncryptionIntegrityChecksFailed(String),
EncryptionKeyAccessDenied(String),
EncryptionKeyDisabled(String),
EncryptionKeyNotFound(String),
EncryptionKeyUnavailable(String),
InvalidPullRequestId(String),
InvalidRevisionId(String),
PullRequestDoesNotExist(String),
PullRequestIdRequired(String),
RevisionIdRequired(String),
}Expand description
Errors returned by GetPullRequestApprovalStates
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.
InvalidRevisionId(String)
The revision ID is not valid. Use GetPullRequest to determine the value.
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.
RevisionIdRequired(String)
A revision ID is required, but was not provided.
Implementations§
Trait Implementations§
Source§impl Error for GetPullRequestApprovalStatesError
impl Error for GetPullRequestApprovalStatesError
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 GetPullRequestApprovalStatesError
impl PartialEq for GetPullRequestApprovalStatesError
Source§fn eq(&self, other: &GetPullRequestApprovalStatesError) -> bool
fn eq(&self, other: &GetPullRequestApprovalStatesError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetPullRequestApprovalStatesError
Auto Trait Implementations§
impl Freeze for GetPullRequestApprovalStatesError
impl RefUnwindSafe for GetPullRequestApprovalStatesError
impl Send for GetPullRequestApprovalStatesError
impl Sync for GetPullRequestApprovalStatesError
impl Unpin for GetPullRequestApprovalStatesError
impl UnwindSafe for GetPullRequestApprovalStatesError
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