pub struct Warning {
pub code: WarningCode,
pub message: String,
}Expand description
A warning generated during the decoding process.
Warnings represent non-fatal issues that don’t prevent successful decoding but may be relevant for logging or auditing purposes.
Fields§
§code: WarningCodeThe type of warning.
message: StringHuman-readable description of the warning.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Warning
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnwindSafe for Warning
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