pub struct Patched {
pub docx: Vec<u8>,
pub warnings: Vec<String>,
}Expand description
A Word document the Markdown edits landed on.
Returned by apply_markdown; writes a clean .docx (no tracked
changes) where the Markdown rewrote, inserted or deleted body
paragraphs, with anything the document could not take reported in
Self::warnings.
Fields§
§docx: Vec<u8>The edited .docx, without tracked changes.
warnings: Vec<String>What the Markdown changed that the document could not take: a footnote whose text is on the Markdown side but not applied, a table cell that would have needed row and column work the engine does not attempt, a paragraph the engine could not edit for the reason the first failure gave.
Trait Implementations§
impl Eq for Patched
impl StructuralPartialEq for Patched
Auto Trait Implementations§
impl Forget for Patched
impl Freeze for Patched
impl Move for Patched
impl RefUnwindSafe for Patched
impl Send for Patched
impl Sync for Patched
impl Unpin for Patched
impl UnsafeUnpin for Patched
impl UnwindSafe for Patched
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.