pub enum InsertContent {
XmlNode(Node),
Text(String),
}Expand description
What to insert
Variants§
XmlNode(Node)
Insert a copy of this XML node as given by a xot node reference into
document B.
Text(String)
Text content to insert.
Trait Implementations§
Source§impl Debug for InsertContent
impl Debug for InsertContent
Source§impl PartialEq for InsertContent
impl PartialEq for InsertContent
impl Eq for InsertContent
impl StructuralPartialEq for InsertContent
Auto Trait Implementations§
impl Freeze for InsertContent
impl RefUnwindSafe for InsertContent
impl Send for InsertContent
impl Sync for InsertContent
impl Unpin for InsertContent
impl UnwindSafe for InsertContent
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