pub enum GetPullRequestOverrideStateError {
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 GetPullRequestOverrideState
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 GetPullRequestOverrideStateError
impl Error for GetPullRequestOverrideStateError
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 GetPullRequestOverrideStateError
impl PartialEq for GetPullRequestOverrideStateError
Source§fn eq(&self, other: &GetPullRequestOverrideStateError) -> bool
fn eq(&self, other: &GetPullRequestOverrideStateError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetPullRequestOverrideStateError
Auto Trait Implementations§
impl Freeze for GetPullRequestOverrideStateError
impl RefUnwindSafe for GetPullRequestOverrideStateError
impl Send for GetPullRequestOverrideStateError
impl Sync for GetPullRequestOverrideStateError
impl Unpin for GetPullRequestOverrideStateError
impl UnwindSafe for GetPullRequestOverrideStateError
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