pub struct PgTransform {
pub trftype: SmolStr,
pub trflang: SmolStr,
pub trffromsql: Option<SmolStr>,
pub trftosql: Option<SmolStr>,
}Expand description
The DDL-only contents of pg_transform
Fields§
§trftype: SmolStroid (references pg_type.oid) OID of the data type this transform is for
trflang: SmolStroid (references pg_language.oid) OID of the language this transform is for
trffromsql: Option<SmolStr>regproc (references pg_proc.oid) The OID of the function to use when converting the data type for input to the procedural language (e.g., function parameters). Zero is stored if the default behavior should be used.
trftosql: Option<SmolStr>regproc (references pg_proc.oid) The OID of the function to use when converting output from the procedural language (e.g., return values) to the data type. Zero is stored if the default behavior should be used.
Trait Implementations§
Source§impl Clone for PgTransform
impl Clone for PgTransform
Source§fn clone(&self) -> PgTransform
fn clone(&self) -> PgTransform
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PgTransform
impl Debug for PgTransform
Source§impl<'de> Deserialize<'de> for PgTransform
impl<'de> Deserialize<'de> for PgTransform
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgTransform, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PgTransform, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PgTransform
impl PartialEq for PgTransform
Source§impl Serialize for PgTransform
impl Serialize for PgTransform
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PgTransform
impl StructuralPartialEq for PgTransform
Auto Trait Implementations§
impl Freeze for PgTransform
impl RefUnwindSafe for PgTransform
impl Send for PgTransform
impl Sync for PgTransform
impl Unpin for PgTransform
impl UnsafeUnpin for PgTransform
impl UnwindSafe for PgTransform
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.