pub enum MissingDataStrategy {
AllowMissingNode,
NodeMustExist,
}
Expand description
Strategy for dealing with missing data (expected attribute value is None
)
Variants§
AllowMissingNode
If an expected attribute value is None
, we do not expect the selector to match any node.
NodeMustExist
If an expected attribute value is None
, the node must still exist, and it text value
(see util::get_node_text) must be None
(empty text).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MissingDataStrategy
impl RefUnwindSafe for MissingDataStrategy
impl Send for MissingDataStrategy
impl Sync for MissingDataStrategy
impl Unpin for MissingDataStrategy
impl UnwindSafe for MissingDataStrategy
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