pub struct UnnestParam {
pub name: ColumnName,
pub pg_type: PgType,
}Expand description
A parameter in an UNNEST clause.
Fields§
§name: ColumnNameThe parameter name.
pg_type: PgTypeThe PostgreSQL array type (e.g., “text[]”, “bigint[]”).
Implementations§
Source§impl UnnestParam
impl UnnestParam
pub fn new(name: ColumnName, pg_type: PgType) -> Self
Trait Implementations§
Source§impl Clone for UnnestParam
impl Clone for UnnestParam
Source§fn clone(&self) -> UnnestParam
fn clone(&self) -> UnnestParam
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 UnnestParam
impl RefUnwindSafe for UnnestParam
impl Send for UnnestParam
impl Sync for UnnestParam
impl Unpin for UnnestParam
impl UnsafeUnpin for UnnestParam
impl UnwindSafe for UnnestParam
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