pub struct Insert {
pub children: Vec<InsertChild>,
pub author: String,
pub date: String,
}
Fields§
§children: Vec<InsertChild>
§date: String
Implementations§
Source§impl Insert
impl Insert
pub fn new(run: Run) -> Insert
pub fn new_with_empty() -> Insert
pub fn new_with_del(del: Delete) -> Insert
pub fn add_run(self, run: Run) -> Insert
pub fn add_delete(self, del: Delete) -> Insert
pub fn add_child(self, c: InsertChild) -> Insert
pub fn date(self, date: impl Into<String>) -> Insert
Trait Implementations§
Source§impl ElementReader for Insert
impl ElementReader for Insert
fn read<R: Read>( r: &mut EventReader<R>, attrs: &[OwnedAttribute], ) -> Result<Self, ReaderError>
impl StructuralPartialEq for Insert
Auto Trait Implementations§
impl Freeze for Insert
impl RefUnwindSafe for Insert
impl Send for Insert
impl Sync for Insert
impl Unpin for Insert
impl UnwindSafe for Insert
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