pub struct C14nOptions {
pub with_comments: bool,
pub node_set: Option<HashSet<NodeId>>,
}Expand description
Options for Canonical XML 1.0 processing.
Fields§
§with_comments: boolWhether to include comments in the output.
node_set: Option<HashSet<NodeId>>Set of node IDs to include (None = include all nodes).
Implementations§
Source§impl C14nOptions
impl C14nOptions
Sourcepub fn with_comments() -> Self
pub fn with_comments() -> Self
Creates options for C14N with comments.
Sourcepub fn with_node_set(self, nodes: HashSet<NodeId>) -> Self
pub fn with_node_set(self, nodes: HashSet<NodeId>) -> Self
Sets the node set for subset canonicalization.
Trait Implementations§
Source§impl Clone for C14nOptions
impl Clone for C14nOptions
Source§fn clone(&self) -> C14nOptions
fn clone(&self) -> C14nOptions
Returns a duplicate 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 C14nOptions
impl Debug for C14nOptions
Auto Trait Implementations§
impl Freeze for C14nOptions
impl RefUnwindSafe for C14nOptions
impl Send for C14nOptions
impl Sync for C14nOptions
impl Unpin for C14nOptions
impl UnwindSafe for C14nOptions
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