pub struct Extracted {
pub text: String,
pub refs: Vec<InlineRef>,
pub unresolved: Vec<String>,
}Expand description
The cleaned text and the references found in it.
Fields§
§text: StringThe text with \@ unescaped and nothing else changed.
refs: Vec<InlineRef>The references the resolver accepted, in text order.
unresolved: Vec<String>Tokens that looked like a file path but the resolver refused, so a caller can warn about a typo without treating an email as a file.
Trait Implementations§
impl Eq for Extracted
impl StructuralPartialEq for Extracted
Auto Trait Implementations§
impl Freeze for Extracted
impl RefUnwindSafe for Extracted
impl Send for Extracted
impl Sync for Extracted
impl Unpin for Extracted
impl UnsafeUnpin for Extracted
impl UnwindSafe for Extracted
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.