pub struct OutputError {
pub code: Option<i64>,
pub message: Option<String>,
pub type_: Option<String>,
}Expand description
Error object returned for invalid model usage.
Fields§
§code: Option<i64>Error code.
message: Option<String>Error message.
type_: Option<String>Error type.
Implementations§
Source§impl OutputError
impl OutputError
pub fn builder() -> OutputError
Trait Implementations§
Source§impl Clone for OutputError
impl Clone for OutputError
Source§impl Debug for OutputError
impl Debug for OutputError
Source§impl Default for OutputError
impl Default for OutputError
Source§impl<'de> Deserialize<'de> for OutputError
impl<'de> Deserialize<'de> for OutputError
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
Source§impl From<OutputError> for OutputError
impl From<OutputError> for OutputError
Source§fn from(value: OutputError) -> Self
fn from(value: OutputError) -> Self
Converts to this type from the input type.
Source§impl Serialize for OutputError
impl Serialize for OutputError
Source§impl TryFrom<OutputError> for OutputError
impl TryFrom<OutputError> for OutputError
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OutputError) -> Result<Self, ConversionError>
fn try_from(value: OutputError) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for OutputError
impl Freeze for OutputError
impl Move for OutputError
impl RefUnwindSafe for OutputError
impl Send for OutputErrorwhere
RawVecInner: Send,
impl Sync for OutputErrorwhere
RawVecInner: Sync,
impl Unpin for OutputError
impl UnsafeUnpin for OutputError
impl UnwindSafe for OutputErrorwhere
RawVecInner: UnwindSafe,
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