pub struct Comment {
pub author: String,
pub date: String,
pub text: String,
pub on: Option<String>,
}Expand description
A comment, on a change, on highlighted text, or at a point.
Fields§
The author name (Word’s w:author).
date: StringYYYY-MM-DDTHH:MM:SSZ, the date Word writes.
text: StringThe comment text: everything after Name (date):, or empty for an
attribution alone ({>>Name (date)<<}).
on: Option<String>The highlighted text the comment is on (when the comment was on a
{==…==} highlight), or None for a comment on a tracked change
or a free-standing comment.
Trait Implementations§
impl Eq for Comment
impl StructuralPartialEq for Comment
Auto Trait Implementations§
impl Forget for Comment
impl Freeze for Comment
impl Move for Comment
impl RefUnwindSafe for Comment
impl Send for Comment
impl Sync for Comment
impl Unpin for Comment
impl UnsafeUnpin for Comment
impl UnwindSafe for Comment
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.