[−][src]Enum rusoto_codecommit::UpdatePullRequestApprovalRuleContentError
Errors returned by UpdatePullRequestApprovalRuleContent
Variants
ApprovalRuleContentRequired(String)
The content for the approval rule is empty. You must provide some content for an approval rule. The content cannot be null.
ApprovalRuleDoesNotExist(String)
The specified approval rule does not exist.
ApprovalRuleNameRequired(String)
An approval rule name is required, but was not specified.
CannotModifyApprovalRuleFromTemplate(String)
The approval rule cannot be modified for the pull request because it was created by an approval rule template and applied to the pull request automatically.
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.
InvalidApprovalRuleContent(String)
The content for the approval rule is not valid.
InvalidApprovalRuleName(String)
The name for the approval rule is not valid.
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.
InvalidRuleContentSha256(String)
The SHA-256 hash signature for the rule content is not valid.
PullRequestAlreadyClosed(String)
The pull request status cannot be updated because it is already closed.
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
impl UpdatePullRequestApprovalRuleContentError
[src]
pub fn from_response(
res: BufferedHttpResponse
) -> RusotoError<UpdatePullRequestApprovalRuleContentError>
[src]
res: BufferedHttpResponse
) -> RusotoError<UpdatePullRequestApprovalRuleContentError>
Trait Implementations
impl Debug for UpdatePullRequestApprovalRuleContentError
[src]
impl Display for UpdatePullRequestApprovalRuleContentError
[src]
impl Error for UpdatePullRequestApprovalRuleContentError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<UpdatePullRequestApprovalRuleContentError> for UpdatePullRequestApprovalRuleContentError
[src]
pub fn eq(&self, other: &UpdatePullRequestApprovalRuleContentError) -> bool
[src]
pub fn ne(&self, other: &UpdatePullRequestApprovalRuleContentError) -> bool
[src]
impl StructuralPartialEq for UpdatePullRequestApprovalRuleContentError
[src]
Auto Trait Implementations
impl RefUnwindSafe for UpdatePullRequestApprovalRuleContentError
[src]
impl Send for UpdatePullRequestApprovalRuleContentError
[src]
impl Sync for UpdatePullRequestApprovalRuleContentError
[src]
impl Unpin for UpdatePullRequestApprovalRuleContentError
[src]
impl UnwindSafe for UpdatePullRequestApprovalRuleContentError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,