Struct nom_sql::ArithmeticExpression [−][src]
pub struct ArithmeticExpression {
pub op: ArithmeticOperator,
pub left: ArithmeticBase,
pub right: ArithmeticBase,
pub alias: Option<String>,
}Fields
op: ArithmeticOperator
left: ArithmeticBase
right: ArithmeticBase
alias: Option<String>
Methods
impl ArithmeticExpression[src]
impl ArithmeticExpressionpub fn new(
op: ArithmeticOperator,
left: ArithmeticBase,
right: ArithmeticBase,
alias: Option<String>
) -> Self[src]
pub fn new(
op: ArithmeticOperator,
left: ArithmeticBase,
right: ArithmeticBase,
alias: Option<String>
) -> SelfTrait Implementations
impl Debug for ArithmeticExpression[src]
impl Debug for ArithmeticExpressionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for ArithmeticExpression[src]
impl Clone for ArithmeticExpressionfn clone(&self) -> ArithmeticExpression[src]
fn clone(&self) -> ArithmeticExpressionReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Eq for ArithmeticExpression[src]
impl Eq for ArithmeticExpressionimpl Hash for ArithmeticExpression[src]
impl Hash for ArithmeticExpressionfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for ArithmeticExpression[src]
impl PartialEq for ArithmeticExpressionfn eq(&self, other: &ArithmeticExpression) -> bool[src]
fn eq(&self, other: &ArithmeticExpression) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ArithmeticExpression) -> bool[src]
fn ne(&self, other: &ArithmeticExpression) -> boolThis method tests for !=.
impl Display for ArithmeticExpression[src]
impl Display for ArithmeticExpressionAuto Trait Implementations
impl Send for ArithmeticExpression
impl Send for ArithmeticExpressionimpl Sync for ArithmeticExpression
impl Sync for ArithmeticExpression