pub struct Decoded {
pub message: Message,
pub pruned: Vec<String>,
}Expand description
What a successful decode produced.
Fields§
§message: MessageThe message.
pruned: Vec<String>Properties the schema does not define, removed in Strictness::Lenient.
Always empty in strict mode, where an unknown property is an error instead.
Trait Implementations§
impl StructuralPartialEq for Decoded
Auto Trait Implementations§
impl Forget for Decoded
impl Freeze for Decoded
impl RefUnwindSafe for Decoded
impl Send for Decoded
impl Sync for Decoded
impl Unpin for Decoded
impl UnsafeUnpin for Decoded
impl UnwindSafe for Decoded
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