pub enum JSONArithmeticOp {
Add,
Subtract,
Divide,
Multiply,
Modulus,
}Variants§
Trait Implementations§
Source§impl Clone for JSONArithmeticOp
impl Clone for JSONArithmeticOp
Source§fn clone(&self) -> JSONArithmeticOp
fn clone(&self) -> JSONArithmeticOp
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 JSONArithmeticOp
impl Debug for JSONArithmeticOp
Source§impl<'de> Deserialize<'de> for JSONArithmeticOp
impl<'de> Deserialize<'de> for JSONArithmeticOp
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 From<ArithmeticOp> for JSONArithmeticOp
impl From<ArithmeticOp> for JSONArithmeticOp
Source§fn from(op: ArithmeticOp) -> Self
fn from(op: ArithmeticOp) -> Self
Converts to this type from the input type.
Source§impl From<JSONArithmeticOp> for ArithmeticOp
impl From<JSONArithmeticOp> for ArithmeticOp
Source§fn from(op: JSONArithmeticOp) -> Self
fn from(op: JSONArithmeticOp) -> Self
Converts to this type from the input type.
Source§impl PartialEq for JSONArithmeticOp
impl PartialEq for JSONArithmeticOp
Source§impl Serialize for JSONArithmeticOp
impl Serialize for JSONArithmeticOp
impl Eq for JSONArithmeticOp
impl StructuralPartialEq for JSONArithmeticOp
Auto Trait Implementations§
impl Freeze for JSONArithmeticOp
impl RefUnwindSafe for JSONArithmeticOp
impl Send for JSONArithmeticOp
impl Sync for JSONArithmeticOp
impl Unpin for JSONArithmeticOp
impl UnwindSafe for JSONArithmeticOp
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