pub enum BoundAst {
Number(Number),
Text(String),
}Expand description
Exact source literal for a numeric, decimal, or timestamp bound.
Variants§
Number(Number)
A JSON number, preserved by serde_json::Number without conversion to f64.
Text(String)
A decimal string, signed timestamp ticks, or an offset-qualified ISO-8601 timestamp.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BoundAst
impl<'de> Deserialize<'de> for BoundAst
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 BoundAst
Auto Trait Implementations§
impl Freeze for BoundAst
impl RefUnwindSafe for BoundAst
impl Send for BoundAst
impl Sync for BoundAst
impl Unpin for BoundAst
impl UnsafeUnpin for BoundAst
impl UnwindSafe for BoundAst
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