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>
Implementations§
Source§impl ArithmeticExpression
impl ArithmeticExpression
pub fn new( op: ArithmeticOperator, left: ArithmeticBase, right: ArithmeticBase, alias: Option<String>, ) -> Self
Trait Implementations§
Source§impl Clone for ArithmeticExpression
impl Clone for ArithmeticExpression
Source§fn clone(&self) -> ArithmeticExpression
fn clone(&self) -> ArithmeticExpression
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 ArithmeticExpression
impl Debug for ArithmeticExpression
Source§impl<'de> Deserialize<'de> for ArithmeticExpression
impl<'de> Deserialize<'de> for ArithmeticExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ArithmeticExpression
impl Display for ArithmeticExpression
Source§impl Hash for ArithmeticExpression
impl Hash for ArithmeticExpression
Source§impl PartialEq for ArithmeticExpression
impl PartialEq for ArithmeticExpression
Source§impl Serialize for ArithmeticExpression
impl Serialize for ArithmeticExpression
impl Eq for ArithmeticExpression
impl StructuralPartialEq for ArithmeticExpression
Auto Trait Implementations§
impl Freeze for ArithmeticExpression
impl RefUnwindSafe for ArithmeticExpression
impl Send for ArithmeticExpression
impl Sync for ArithmeticExpression
impl Unpin for ArithmeticExpression
impl UnwindSafe for ArithmeticExpression
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