Struct pgx_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: boolSet via the type being an Option.
metadata: FunctionMetadataTypeEntityTrait 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<UsedTypeEntity> for UsedTypeEntity
impl PartialEq<UsedTypeEntity> 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<UsedTypeEntity> for UsedTypeEntity
impl PartialOrd<UsedTypeEntity> 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 StructuralEq for UsedTypeEntity
impl StructuralPartialEq for UsedTypeEntity
Auto Trait Implementations§
impl RefUnwindSafe for UsedTypeEntity
impl Send for UsedTypeEntity
impl Sync for UsedTypeEntity
impl Unpin for UsedTypeEntity
impl UnwindSafe for UsedTypeEntity
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.