pub struct BatchError {
pub code: String,
pub message: String,
pub param: Option<String>,
pub line: Option<u32>,
}
Fields§
§code: String
An error code identifying the error type.
message: String
A human-readable message providing more details about the error.
param: Option<String>
The name of the parameter that caused the error, if applicable.
line: Option<u32>
The line number of the input file where the error occurred, if applicable.
Trait Implementations§
Source§impl Clone for BatchError
impl Clone for BatchError
Source§fn clone(&self) -> BatchError
fn clone(&self) -> BatchError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BatchError
impl Debug for BatchError
Source§impl<'de> Deserialize<'de> for BatchError
impl<'de> Deserialize<'de> for BatchError
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 PartialEq for BatchError
impl PartialEq for BatchError
Source§impl Serialize for BatchError
impl Serialize for BatchError
impl StructuralPartialEq for BatchError
Auto Trait Implementations§
impl Freeze for BatchError
impl RefUnwindSafe for BatchError
impl Send for BatchError
impl Sync for BatchError
impl Unpin for BatchError
impl UnwindSafe for BatchError
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