pub struct ParsedCheck {
pub name: Option<String>,
pub expression: String,
}Available on crate feature
std only.Expand description
Parsed check constraint from CREATE TABLE SQL
Fields§
§name: Option<String>Constraint name (if explicitly named)
expression: StringCheck expression
Trait Implementations§
Source§impl Clone for ParsedCheck
impl Clone for ParsedCheck
Source§fn clone(&self) -> ParsedCheck
fn clone(&self) -> ParsedCheck
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 moreAuto Trait Implementations§
impl Freeze for ParsedCheck
impl RefUnwindSafe for ParsedCheck
impl Send for ParsedCheck
impl Sync for ParsedCheck
impl Unpin for ParsedCheck
impl UnsafeUnpin for ParsedCheck
impl UnwindSafe for ParsedCheck
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