pub struct QBError {
pub message: String,
pub code: String,
pub detail: Option<String>,
pub element: Option<String>,
}Expand description
Represents a single error returned by the QuickBooks API.
This is currently not a strongly typed structure, as the QuickBooks API
does not provide detailed documentation on the error fields.
Fields§
§message: String§code: String§detail: Option<String>§element: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for QBError
impl<'de> Deserialize<'de> for QBError
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 QBError
impl RefUnwindSafe for QBError
impl Send for QBError
impl Sync for QBError
impl Unpin for QBError
impl UnwindSafe for QBError
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