pub struct SumAst {
pub name: String,
pub column: String,
pub min: Option<BoundAst>,
pub max: Option<BoundAst>,
}Expand description
Bound the total of a numeric column.
The bounds keep their source spelling rather than becoming f64, because a
turnover limit past 2^53 is exactly the number a finance contract states.
Fields§
§name: String§column: String§min: Option<BoundAst>§max: Option<BoundAst>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SumAst
impl<'de> Deserialize<'de> for SumAst
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
impl StructuralPartialEq for SumAst
Auto Trait Implementations§
impl Freeze for SumAst
impl RefUnwindSafe for SumAst
impl Send for SumAst
impl Sync for SumAst
impl Unpin for SumAst
impl UnsafeUnpin for SumAst
impl UnwindSafe for SumAst
Blanket Implementations§
impl<T> Allocation for T
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