#[non_exhaustive]pub struct RowError {
pub field: String,
pub message: String,
pub value: Option<Value>,
}Expand description
One field error in a payment file’s rows.
This is pain001’s row error (field, message, value). The
pain001 0.0.85 OpenAPI document names FastAPI’s request-error schema
for these lists by a name collision; the server sends this shape.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.field: StringThe field name or JSON path.
message: StringWhat is wrong.
value: Option<Value>The offending value, when the server reports it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RowError
impl<'de> Deserialize<'de> for RowError
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
impl StructuralPartialEq for RowError
Auto Trait Implementations§
impl Freeze for RowError
impl RefUnwindSafe for RowError
impl Send for RowError
impl Sync for RowError
impl Unpin for RowError
impl UnsafeUnpin for RowError
impl UnwindSafe for RowError
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