pub struct XPathResult {
pub values: Vec<String>,
pub paths: Vec<String>,
pub attributes: Vec<HashMap<String, String>>,
pub stats: XPathStats,
}Expand description
Result of XPath selection
Fields§
§values: Vec<String>Selected values
paths: Vec<String>Element paths where matches were found
attributes: Vec<HashMap<String, String>>Attributes found at matching elements
stats: XPathStatsPerformance statistics
Trait Implementations§
Source§impl Clone for XPathResult
impl Clone for XPathResult
Source§fn clone(&self) -> XPathResult
fn clone(&self) -> XPathResult
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 moreAuto Trait Implementations§
impl Freeze for XPathResult
impl RefUnwindSafe for XPathResult
impl Send for XPathResult
impl Sync for XPathResult
impl Unpin for XPathResult
impl UnwindSafe for XPathResult
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