[−][src]Struct postgres_parser::nodes::TypeName
TypeName specifies a type in definitions
For TypeName structures generated internally, it is often easier to specify the type by OID than by name. If "names" is NIL then the actual type OID is given by typeOid, otherwise typeOid is unused. Similarly, if "typmods" is NIL then the actual typmod is expected to be prespecified in typemod, otherwise typemod is unused.
If pct_type is true, then names is actually a field name and we look up the type of that field. Otherwise (the normal case), names is a type name possibly qualified with schema and database name.
Fields
names: Option<Vec<Node>>
typeOid: Oid
setof: bool
pct_type: bool
typmods: Option<Vec<Node>>
typemod: i32
arrayBounds: Option<Vec<Node>>
location: i32
Trait Implementations
impl Debug for TypeName
[src]
impl<'de> Deserialize<'de> for TypeName
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for TypeName
[src]
impl PartialEq<TypeName> for TypeName
[src]
impl Serialize for TypeName
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for TypeName
[src]
impl StructuralPartialEq for TypeName
[src]
Auto Trait Implementations
impl RefUnwindSafe for TypeName
impl Send for TypeName
impl Sync for TypeName
impl Unpin for TypeName
impl UnwindSafe for TypeName
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, 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>,