Struct rbatis_codegen::codegen::syntax_tree_pysql::choose_node::ChooseNode
source · pub struct ChooseNode {
pub when_nodes: Vec<NodeType>,
pub otherwise_node: Option<Box<NodeType>>,
}
Fields§
§when_nodes: Vec<NodeType>
§otherwise_node: Option<Box<NodeType>>
Trait Implementations§
source§impl Clone for ChooseNode
impl Clone for ChooseNode
source§fn clone(&self) -> ChooseNode
fn clone(&self) -> ChooseNode
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 ChooseNode
impl Debug for ChooseNode
source§impl PartialEq for ChooseNode
impl PartialEq for ChooseNode
source§fn eq(&self, other: &ChooseNode) -> bool
fn eq(&self, other: &ChooseNode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ChooseNode
impl StructuralPartialEq for ChooseNode
Auto Trait Implementations§
impl Freeze for ChooseNode
impl RefUnwindSafe for ChooseNode
impl Send for ChooseNode
impl Sync for ChooseNode
impl Unpin for ChooseNode
impl UnwindSafe for ChooseNode
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.