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§
source§impl 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§
source§impl Clone for CommentExtended
impl Clone for CommentExtended
source§fn clone(&self) -> CommentExtended
fn clone(&self) -> CommentExtended
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommentExtended
impl Debug for CommentExtended
source§impl ElementReader for CommentExtended
impl ElementReader for CommentExtended
fn read<R: Read>( _r: &mut EventReader<R>, attrs: &[OwnedAttribute] ) -> Result<Self, ReaderError>
source§impl PartialEq for CommentExtended
impl PartialEq for CommentExtended
source§fn 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 ==
.source§impl Serialize for CommentExtended
impl Serialize for CommentExtended
impl StructuralPartialEq for CommentExtended
Auto Trait Implementations§
impl Freeze for CommentExtended
impl RefUnwindSafe for CommentExtended
impl Send for CommentExtended
impl Sync for CommentExtended
impl Unpin for CommentExtended
impl UnwindSafe for CommentExtended
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