[−][src]Struct postgres_parser::sys::CoerceToDomain
CoerceToDomain
CoerceToDomain represents the operation of coercing a value to a domain type. At runtime (and not before) the precise set of constraints to be checked will be determined. If the value passes, it is returned as the result; if not, an error is raised. Note that this is equivalent to RelabelType in the scenario where no constraints are applied.
Fields
xpr: Exprarg: *mut Exprresulttype: Oidinput expression
resulttypmod: int32domain type ID (result type)
resultcollid: Oidoutput typmod (currently always 1)
coercionformat: CoercionFormOID of collation, or InvalidOid if none
location: c_inthow to display this node
Trait Implementations
impl Debug for CoerceToDomain[src]
impl Default for CoerceToDomain[src]
impl Eq for CoerceToDomain[src]
impl Hash for CoerceToDomain[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<CoerceToDomain> for CoerceToDomain[src]
fn eq(&self, other: &CoerceToDomain) -> bool[src]
fn ne(&self, other: &CoerceToDomain) -> bool[src]
impl StructuralEq for CoerceToDomain[src]
impl StructuralPartialEq for CoerceToDomain[src]
Auto Trait Implementations
impl RefUnwindSafe for CoerceToDomain
impl !Send for CoerceToDomain
impl !Sync for CoerceToDomain
impl Unpin for CoerceToDomain
impl UnwindSafe for CoerceToDomain
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>,