Struct rbatis_codegen::codegen::syntax_tree_pysql::foreach_node::ForEachNode
source · pub struct ForEachNode {
pub childs: Vec<NodeType>,
pub collection: String,
pub index: String,
pub item: String,
}
Fields§
§childs: Vec<NodeType>
§collection: String
§index: String
§item: String
Trait Implementations§
source§impl Clone for ForEachNode
impl Clone for ForEachNode
source§fn clone(&self) -> ForEachNode
fn clone(&self) -> ForEachNode
Returns a copy 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 moresource§impl Debug for ForEachNode
impl Debug for ForEachNode
source§impl PartialEq for ForEachNode
impl PartialEq for ForEachNode
source§fn eq(&self, other: &ForEachNode) -> bool
fn eq(&self, other: &ForEachNode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ForEachNode
impl StructuralPartialEq for ForEachNode
Auto Trait Implementations§
impl Freeze for ForEachNode
impl RefUnwindSafe for ForEachNode
impl Send for ForEachNode
impl Sync for ForEachNode
impl Unpin for ForEachNode
impl UnwindSafe for ForEachNode
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.