Struct pgx_pg_sys::CreateCastStmt
source · [−]#[repr(C)]pub struct CreateCastStmt {
pub type_: NodeTag,
pub sourcetype: *mut TypeName,
pub targettype: *mut TypeName,
pub func: *mut ObjectWithArgs,
pub context: CoercionContext,
pub inout: bool,
}
Fields
type_: NodeTag
sourcetype: *mut TypeName
targettype: *mut TypeName
func: *mut ObjectWithArgs
context: CoercionContext
inout: bool
Trait Implementations
sourceimpl Clone for CreateCastStmt
impl Clone for CreateCastStmt
sourcefn clone(&self) -> CreateCastStmt
fn clone(&self) -> CreateCastStmt
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateCastStmt
impl Debug for CreateCastStmt
sourceimpl Default for CreateCastStmt
impl Default for CreateCastStmt
sourceimpl Display for CreateCastStmt
impl Display for CreateCastStmt
sourceimpl PgNode for CreateCastStmt
impl PgNode for CreateCastStmt
type NodeType = CreateCastStmt
sourcefn as_node_ptr(&self) -> *mut Self::NodeType
fn as_node_ptr(&self) -> *mut Self::NodeType
Represent this node as a mutable pointer of its type
impl Copy for CreateCastStmt
Auto Trait Implementations
impl RefUnwindSafe for CreateCastStmt
impl !Send for CreateCastStmt
impl !Sync for CreateCastStmt
impl Unpin for CreateCastStmt
impl UnwindSafe for CreateCastStmt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more