pub struct XmlExpr {
pub op: XmlOp,
pub name: Option<String>,
pub named: Vec<(String, Expr)>,
pub args: Vec<Expr>,
pub document: bool,
pub indent: bool,
pub target: (u32, i32),
}Expand description
XmlExpr: a SQL/XML function with its own syntax. The type is boolean for IS DOCUMENT, text for XMLSERIALIZE and xml for the others.
Fields§
§op: XmlOp§name: Option<String>The XML name of the element of XMLELEMENT or the target of XMLPI.
named: Vec<(String, Expr)>The attributes of XMLELEMENT or the elements of XMLFOREST, with their XML names.
args: Vec<Expr>The other arguments. XMLPARSE has the text and the flag of PRESERVE WHITESPACE. XMLROOT has the value, the version or a null text and the integer of STANDALONE.
document: boolDOCUMENT, not CONTENT, for XMLPARSE and XMLSERIALIZE.
indent: boolINDENT of XMLSERIALIZE.
target: (u32, i32)The type and the type modifier of AS of XMLSERIALIZE.
Implementations§
Trait Implementations§
impl StructuralPartialEq for XmlExpr
Auto Trait Implementations§
impl Freeze for XmlExpr
impl RefUnwindSafe for XmlExpr
impl Send for XmlExpr
impl Sync for XmlExpr
impl Unpin for XmlExpr
impl UnsafeUnpin for XmlExpr
impl UnwindSafe for XmlExpr
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