pub enum ApiErrorMetadata {
ModerationError(ModerationErrorMetadata),
ProviderError(ProviderErrorMetadata),
Raw(Value),
}
Variants§
Trait Implementations§
Source§impl Debug for ApiErrorMetadata
impl Debug for ApiErrorMetadata
Source§impl<'de> Deserialize<'de> for ApiErrorMetadata
impl<'de> Deserialize<'de> for ApiErrorMetadata
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
Auto Trait Implementations§
impl Freeze for ApiErrorMetadata
impl RefUnwindSafe for ApiErrorMetadata
impl Send for ApiErrorMetadata
impl Sync for ApiErrorMetadata
impl Unpin for ApiErrorMetadata
impl UnwindSafe for ApiErrorMetadata
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