Struct docx_rs::CommentExtended
source · [−]pub struct CommentExtended {
pub paragraph_id: String,
pub done: bool,
pub parent_paragraph_id: Option<String>,
}
Fields
paragraph_id: String
done: bool
parent_paragraph_id: Option<String>
Implementations
sourceimpl CommentExtended
impl CommentExtended
pub fn new(paragraph_id: impl Into<String>) -> CommentExtended
pub fn done(self) -> CommentExtended
pub fn parent_paragraph_id(self, id: impl Into<String>) -> CommentExtended
Trait Implementations
sourceimpl Clone for CommentExtended
impl Clone for CommentExtended
sourcefn clone(&self) -> CommentExtended
fn clone(&self) -> CommentExtended
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CommentExtended
impl Debug for CommentExtended
sourceimpl ElementReader for CommentExtended
impl ElementReader for CommentExtended
fn read<R: Read>(
_r: &mut EventReader<R>,
attrs: &[OwnedAttribute]
) -> Result<Self, ReaderError>
sourceimpl PartialEq<CommentExtended> for CommentExtended
impl PartialEq<CommentExtended> for CommentExtended
sourcefn eq(&self, other: &CommentExtended) -> bool
fn eq(&self, other: &CommentExtended) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for CommentExtended
impl Serialize for CommentExtended
impl StructuralPartialEq for CommentExtended
Auto Trait Implementations
impl RefUnwindSafe for CommentExtended
impl Send for CommentExtended
impl Sync for CommentExtended
impl Unpin for CommentExtended
impl UnwindSafe for CommentExtended
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more