Struct pgrx_sql_entity_graph::SchemaEntity
source · pub struct SchemaEntity {
pub module_path: &'static str,
pub name: &'static str,
pub file: &'static str,
pub line: u32,
}
Expand description
The output of a Schema
from quote::ToTokens::to_tokens
.
Fields§
§module_path: &'static str
§name: &'static str
§file: &'static str
§line: u32
Trait Implementations§
source§impl Clone for SchemaEntity
impl Clone for SchemaEntity
source§fn clone(&self) -> SchemaEntity
fn clone(&self) -> SchemaEntity
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 SchemaEntity
impl Debug for SchemaEntity
source§impl From<SchemaEntity> for SqlGraphEntity
impl From<SchemaEntity> for SqlGraphEntity
source§fn from(val: SchemaEntity) -> Self
fn from(val: SchemaEntity) -> Self
Converts to this type from the input type.
source§impl Hash for SchemaEntity
impl Hash for SchemaEntity
source§impl Ord for SchemaEntity
impl Ord for SchemaEntity
source§fn cmp(&self, other: &SchemaEntity) -> Ordering
fn cmp(&self, other: &SchemaEntity) -> 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 SchemaEntity
impl PartialEq for SchemaEntity
source§fn eq(&self, other: &SchemaEntity) -> bool
fn eq(&self, other: &SchemaEntity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SchemaEntity
impl PartialOrd for SchemaEntity
source§fn partial_cmp(&self, other: &SchemaEntity) -> Option<Ordering>
fn partial_cmp(&self, other: &SchemaEntity) -> 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 moresource§impl SqlGraphIdentifier for SchemaEntity
impl SqlGraphIdentifier for SchemaEntity
source§impl ToSql for SchemaEntity
impl ToSql for SchemaEntity
impl Eq for SchemaEntity
impl StructuralPartialEq for SchemaEntity
Auto Trait Implementations§
impl Freeze for SchemaEntity
impl RefUnwindSafe for SchemaEntity
impl Send for SchemaEntity
impl Sync for SchemaEntity
impl Unpin for SchemaEntity
impl UnwindSafe for SchemaEntity
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.