pub struct CoercionDetail {
pub field_name: String,
pub original_value: String,
pub coerced_value: Option<Value>,
pub target_type: CoercionTargetType,
pub success: bool,
pub error_message: Option<String>,
}
Expand description
Details of a single coercion operation
Fields§
§field_name: String
Field name being coerced
original_value: String
Original value
coerced_value: Option<Value>
Coerced value (if successful)
target_type: CoercionTargetType
Target type attempted
success: bool
Whether coercion was successful
error_message: Option<String>
Error message if coercion failed
Trait Implementations§
Source§impl Clone for CoercionDetail
impl Clone for CoercionDetail
Source§fn clone(&self) -> CoercionDetail
fn clone(&self) -> CoercionDetail
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for CoercionDetail
impl RefUnwindSafe for CoercionDetail
impl Send for CoercionDetail
impl Sync for CoercionDetail
impl Unpin for CoercionDetail
impl UnwindSafe for CoercionDetail
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