[−][src]Enum postgres_parser::sys::ParamKind
Param
paramkind specifies the kind of parameter. The possible values for this field are:
PARAM_EXTERN: The parameter value is supplied from outside the plan. Such parameters are numbered from 1 to n.
PARAM_EXEC: The parameter is an internal executor parameter, used for passing values into and out of subqueries or from nestloop joins to their inner scans. For historical reasons, such parameters are numbered from 0. These numbers are independent of PARAM_EXTERN numbers.
PARAM_SUBLINK: The parameter represents an output column of a SubLink node's subselect. The column number is contained in the 'paramid' field. (This type of Param is converted to PARAM_EXEC during planning.)
PARAM_MULTIEXPR: Like PARAM_SUBLINK, the parameter represents an output column of a SubLink node's subselect, but here, the SubLink is always a MULTIEXPR SubLink. The highorder 16 bits of the 'paramid' field contain the SubLink's subLinkId, and the loworder 16 bits contain the column number. (This type of Param is also converted to PARAM_EXEC during planning.)
Variants
Trait Implementations
impl Clone for ParamKind
[src]
impl Copy for ParamKind
[src]
impl Debug for ParamKind
[src]
impl<'de> Deserialize<'de> for ParamKind
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for ParamKind
[src]
impl Hash for ParamKind
[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<ParamKind> for ParamKind
[src]
impl Serialize for ParamKind
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for ParamKind
[src]
impl StructuralPartialEq for ParamKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for ParamKind
impl Send for ParamKind
impl Sync for ParamKind
impl Unpin for ParamKind
impl UnwindSafe for ParamKind
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,