pub struct Parsed<T> {
pub value: T,
pub warnings: Vec<ParseWarning>,
}Expand description
Result of lenient jCard parsing: the parsed value plus any warnings.
Even when warnings is non-empty, value contains everything that
could be successfully parsed.
Fields§
§value: TBest-effort parse result.
warnings: Vec<ParseWarning>Problems encountered during parsing.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Parsed<T>where
T: Freeze,
impl<T> RefUnwindSafe for Parsed<T>where
T: RefUnwindSafe,
impl<T> Send for Parsed<T>where
T: Send,
impl<T> Sync for Parsed<T>where
T: Sync,
impl<T> Unpin for Parsed<T>where
T: Unpin,
impl<T> UnsafeUnpin for Parsed<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Parsed<T>where
T: UnwindSafe,
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