Struct pgrx_sql_entity_graph::UsedTypeEntity
source · pub struct UsedTypeEntity {
pub ty_source: &'static str,
pub ty_id: TypeId,
pub full_path: &'static str,
pub module_path: String,
pub composite_type: Option<&'static str>,
pub variadic: bool,
pub default: Option<&'static str>,
pub optional: bool,
pub metadata: FunctionMetadataTypeEntity,
}
Fields§
§ty_source: &'static str
§ty_id: TypeId
§full_path: &'static str
§module_path: String
§composite_type: Option<&'static str>
§variadic: bool
§default: Option<&'static str>
§optional: bool
Set via the type being an Option
.
metadata: FunctionMetadataTypeEntity
Trait Implementations§
source§impl Clone for UsedTypeEntity
impl Clone for UsedTypeEntity
source§fn clone(&self) -> UsedTypeEntity
fn clone(&self) -> UsedTypeEntity
Returns a copy 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 UsedTypeEntity
impl Debug for UsedTypeEntity
source§impl Hash for UsedTypeEntity
impl Hash for UsedTypeEntity
source§impl Ord for UsedTypeEntity
impl Ord for UsedTypeEntity
source§fn cmp(&self, other: &UsedTypeEntity) -> Ordering
fn cmp(&self, other: &UsedTypeEntity) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for UsedTypeEntity
impl PartialEq for UsedTypeEntity
source§fn eq(&self, other: &UsedTypeEntity) -> bool
fn eq(&self, other: &UsedTypeEntity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UsedTypeEntity
impl PartialOrd for UsedTypeEntity
source§fn partial_cmp(&self, other: &UsedTypeEntity) -> Option<Ordering>
fn partial_cmp(&self, other: &UsedTypeEntity) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for UsedTypeEntity
impl StructuralPartialEq for UsedTypeEntity
Auto Trait Implementations§
impl Freeze for UsedTypeEntity
impl RefUnwindSafe for UsedTypeEntity
impl Send for UsedTypeEntity
impl Sync for UsedTypeEntity
impl Unpin for UsedTypeEntity
impl UnwindSafe for UsedTypeEntity
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.