pub struct ParagraphPropertyChange {
pub author: String,
pub date: String,
pub property: Box<ParagraphProperty>,
}
Fields§
§date: String
§property: Box<ParagraphProperty>
Implementations§
Source§impl ParagraphPropertyChange
impl ParagraphPropertyChange
pub fn new() -> ParagraphPropertyChange
pub fn property(self, p: ParagraphProperty) -> ParagraphPropertyChange
pub fn date(self, date: impl Into<String>) -> ParagraphPropertyChange
Trait Implementations§
Source§impl Clone for ParagraphPropertyChange
impl Clone for ParagraphPropertyChange
Source§fn clone(&self) -> ParagraphPropertyChange
fn clone(&self) -> ParagraphPropertyChange
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 ParagraphPropertyChange
impl Debug for ParagraphPropertyChange
Source§impl Default for ParagraphPropertyChange
impl Default for ParagraphPropertyChange
Source§fn default() -> ParagraphPropertyChange
fn default() -> ParagraphPropertyChange
Returns the “default value” for a type. Read more
Source§impl ElementReader for ParagraphPropertyChange
impl ElementReader for ParagraphPropertyChange
fn read<R: Read>( r: &mut EventReader<R>, attrs: &[OwnedAttribute], ) -> Result<Self, ReaderError>
Source§impl PartialEq for ParagraphPropertyChange
impl PartialEq for ParagraphPropertyChange
Source§impl Serialize for ParagraphPropertyChange
impl Serialize for ParagraphPropertyChange
impl StructuralPartialEq for ParagraphPropertyChange
Auto Trait Implementations§
impl Freeze for ParagraphPropertyChange
impl RefUnwindSafe for ParagraphPropertyChange
impl Send for ParagraphPropertyChange
impl Sync for ParagraphPropertyChange
impl Unpin for ParagraphPropertyChange
impl UnwindSafe for ParagraphPropertyChange
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