pub struct BatchErrorsDatum {
pub code: Option<String>,
pub message: Option<String>,
pub param: Option<String>,
pub line: Option<i64>,
}
Fields§
§code: Option<String>
An error code identifying the error type.
message: Option<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<i64>
The line number of the input file where the error occurred, if applicable.
Implementations§
Source§impl BatchErrorsDatum
impl BatchErrorsDatum
Sourcepub fn builder() -> BatchErrorsDatumBuilder<((), (), (), ())>
pub fn builder() -> BatchErrorsDatumBuilder<((), (), (), ())>
Create a builder for building BatchErrorsDatum
.
On the builder, call .code(...)
(optional), .message(...)
(optional), .param(...)
(optional), .line(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of BatchErrorsDatum
.
Trait Implementations§
Source§impl Clone for BatchErrorsDatum
impl Clone for BatchErrorsDatum
Source§fn clone(&self) -> BatchErrorsDatum
fn clone(&self) -> BatchErrorsDatum
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BatchErrorsDatum
impl Debug for BatchErrorsDatum
Source§impl Default for BatchErrorsDatum
impl Default for BatchErrorsDatum
Source§fn default() -> BatchErrorsDatum
fn default() -> BatchErrorsDatum
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchErrorsDatum
impl<'de> Deserialize<'de> for BatchErrorsDatum
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 BatchErrorsDatum
impl PartialEq for BatchErrorsDatum
Source§impl Serialize for BatchErrorsDatum
impl Serialize for BatchErrorsDatum
impl StructuralPartialEq for BatchErrorsDatum
Auto Trait Implementations§
impl Freeze for BatchErrorsDatum
impl RefUnwindSafe for BatchErrorsDatum
impl Send for BatchErrorsDatum
impl Sync for BatchErrorsDatum
impl Unpin for BatchErrorsDatum
impl UnwindSafe for BatchErrorsDatum
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