pub enum DeleteCommentContentError {
CommentDeleted(String),
CommentDoesNotExist(String),
CommentIdRequired(String),
InvalidCommentId(String),
}Expand description
Errors returned by DeleteCommentContent
Variants§
CommentDeleted(String)
This comment has already been deleted. You cannot edit or delete a deleted comment.
CommentDoesNotExist(String)
No comment exists with the provided ID. Verify that you have used the correct ID, and then try again.
CommentIdRequired(String)
The comment ID is missing or null. A comment ID is required.
InvalidCommentId(String)
The comment ID is not in a valid format. Make sure that you have provided the full comment ID.
Implementations§
Source§impl DeleteCommentContentError
impl DeleteCommentContentError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeleteCommentContentError>
Trait Implementations§
Source§impl Debug for DeleteCommentContentError
impl Debug for DeleteCommentContentError
Source§impl Display for DeleteCommentContentError
impl Display for DeleteCommentContentError
Source§impl Error for DeleteCommentContentError
impl Error for DeleteCommentContentError
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()
impl StructuralPartialEq for DeleteCommentContentError
Auto Trait Implementations§
impl Freeze for DeleteCommentContentError
impl RefUnwindSafe for DeleteCommentContentError
impl Send for DeleteCommentContentError
impl Sync for DeleteCommentContentError
impl Unpin for DeleteCommentContentError
impl UnwindSafe for DeleteCommentContentError
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