pub struct NamedQuery {
pub name: Option<String>,
pub root: AstNode,
pub condition: Option<BatchCondition>,
}Expand description
A named batch query.
Fields§
§name: Option<String>Variable name.
root: AstNodeTraversal root.
condition: Option<BatchCondition>Optional condition.
Trait Implementations§
Source§impl Clone for NamedQuery
impl Clone for NamedQuery
Source§fn clone(&self) -> NamedQuery
fn clone(&self) -> NamedQuery
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 NamedQuery
impl Debug for NamedQuery
Source§impl<'de> Deserialize<'de> for NamedQuery
impl<'de> Deserialize<'de> for NamedQuery
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NamedQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NamedQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NamedQuery
impl PartialEq for NamedQuery
Source§impl Serialize for NamedQuery
impl Serialize for NamedQuery
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NamedQuery
Auto Trait Implementations§
impl Freeze for NamedQuery
impl RefUnwindSafe for NamedQuery
impl Send for NamedQuery
impl Sync for NamedQuery
impl Unpin for NamedQuery
impl UnsafeUnpin for NamedQuery
impl UnwindSafe for NamedQuery
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