pub enum SlackApiBlocksValidateErrorCode {
FailedConstraint,
MissingField,
Other(String),
}Expand description
Per-item error code in SlackApiBlocksValidateResponse.errors. The docs
list only failed_constraint; missing_field is observed live.
https://docs.slack.dev/reference/methods/blocks.validate#validation-errors
Variants§
FailedConstraint
MissingField
Other(String)
A value this crate does not model yet, carried verbatim.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlackApiBlocksValidateErrorCode
impl<'de> Deserialize<'de> for SlackApiBlocksValidateErrorCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SlackApiBlocksValidateErrorCode
impl StructuralPartialEq for SlackApiBlocksValidateErrorCode
Auto Trait Implementations§
impl Freeze for SlackApiBlocksValidateErrorCode
impl RefUnwindSafe for SlackApiBlocksValidateErrorCode
impl Send for SlackApiBlocksValidateErrorCode
impl Sync for SlackApiBlocksValidateErrorCode
impl Unpin for SlackApiBlocksValidateErrorCode
impl UnsafeUnpin for SlackApiBlocksValidateErrorCode
impl UnwindSafe for SlackApiBlocksValidateErrorCode
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