pub struct AssertionAst {
pub column: String,
pub not_null: bool,
pub min: Option<BoundAst>,
pub max: Option<BoundAst>,
pub nan: Option<NaNPolicyAst>,
pub pattern: Option<String>,
pub allowed: Option<BTreeSet<String>>,
}Fields§
§column: String§not_null: bool§min: Option<BoundAst>§max: Option<BoundAst>§nan: Option<NaNPolicyAst>§pattern: Option<String>§allowed: Option<BTreeSet<String>>Trait Implementations§
Source§impl Clone for AssertionAst
impl Clone for AssertionAst
Source§fn clone(&self) -> AssertionAst
fn clone(&self) -> AssertionAst
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AssertionAst
impl Debug for AssertionAst
Source§impl<'de> Deserialize<'de> for AssertionAst
impl<'de> Deserialize<'de> for AssertionAst
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 PartialEq for AssertionAst
impl PartialEq for AssertionAst
impl StructuralPartialEq for AssertionAst
Auto Trait Implementations§
impl Freeze for AssertionAst
impl RefUnwindSafe for AssertionAst
impl Send for AssertionAst
impl Sync for AssertionAst
impl Unpin for AssertionAst
impl UnsafeUnpin for AssertionAst
impl UnwindSafe for AssertionAst
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