pub struct LetBinding {
pub name: String,
pub value: String,
}Expand description
A <let name="..." value="..."> variable binding. value is the raw,
unparsed XPath expression (see Rule::context/Check::test for the
same treatment). See plan/04-let-bindings.md for scope (only the
value-attribute form is supported, not the foreign-element+ literal-
XML-content form) and evaluation semantics (schema/pattern-level <let>
evaluate against the document root, rule-level against the matched
context node, per crate::engine::evaluate).
Fields§
§name: String§value: StringTrait Implementations§
Source§impl Clone for LetBinding
impl Clone for LetBinding
Source§fn clone(&self) -> LetBinding
fn clone(&self) -> LetBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LetBinding
impl Debug for LetBinding
impl Eq for LetBinding
Source§impl PartialEq for LetBinding
impl PartialEq for LetBinding
impl StructuralPartialEq for LetBinding
Auto Trait Implementations§
impl Freeze for LetBinding
impl RefUnwindSafe for LetBinding
impl Send for LetBinding
impl Sync for LetBinding
impl Unpin for LetBinding
impl UnsafeUnpin for LetBinding
impl UnwindSafe for LetBinding
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