pub struct Deletion<'a> {
pub id: Option<Cow<'a, str>>,
pub author: Option<Cow<'a, str>>,
pub date: Option<Cow<'a, str>>,
pub runs: Vec<Run<'a>>,
}Expand description
Deletion (w:del) - Represents deleted content in track changes
Contains runs of text that were deleted during revision tracking. The actual deleted text is stored in w:delText elements within the runs.
Fields§
§id: Option<Cow<'a, str>>Unique identifier for this revision
Author of the revision
date: Option<Cow<'a, str>>Date/time of the revision
runs: Vec<Run<'a>>Runs containing the deleted content (with w:delText)
Implementations§
Trait Implementations§
Source§impl<'a> From<Deletion<'a>> for ParagraphContent<'a>
impl<'a> From<Deletion<'a>> for ParagraphContent<'a>
Source§fn from(original: Deletion<'a>) -> ParagraphContent<'a>
fn from(original: Deletion<'a>) -> ParagraphContent<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for Deletion<'a>
impl<'a> RefUnwindSafe for Deletion<'a>
impl<'a> Send for Deletion<'a>
impl<'a> Sync for Deletion<'a>
impl<'a> Unpin for Deletion<'a>
impl<'a> UnwindSafe for Deletion<'a>
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