[−][src]Struct postgres_parser::sys::CoerceToDomainValue
Placeholder node for the value to be processed by a domain's check constraint. This is effectively like a Param, but can be implemented more simply since we need only one replacement value at a time.
Note: the typeId/typeMod/collation will be set from the domain's base type, not the domain itself. This is because we shouldn't consider the value to be a member of the domain if we haven't yet checked its constraints.
Fields
xpr: Expr
typeId: Oid
typeMod: int32
type for substituted value
collation: Oid
typemod for substituted value
location: c_int
collation for the substituted value
Trait Implementations
impl Debug for CoerceToDomainValue
[src]
impl Default for CoerceToDomainValue
[src]
impl Eq for CoerceToDomainValue
[src]
impl Hash for CoerceToDomainValue
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<CoerceToDomainValue> for CoerceToDomainValue
[src]
fn eq(&self, other: &CoerceToDomainValue) -> bool
[src]
fn ne(&self, other: &CoerceToDomainValue) -> bool
[src]
impl StructuralEq for CoerceToDomainValue
[src]
impl StructuralPartialEq for CoerceToDomainValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for CoerceToDomainValue
impl Send for CoerceToDomainValue
impl Sync for CoerceToDomainValue
impl Unpin for CoerceToDomainValue
impl UnwindSafe for CoerceToDomainValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,