pub struct PgExternEntity<'a> {Show 14 fields
pub name: &'a str,
pub unaliased_name: &'a str,
pub module_path: &'a str,
pub full_path: &'a str,
pub fn_args: Vec<PgExternArgumentEntity<'a>>,
pub fn_return: PgExternReturnEntity<'a>,
pub schema: Option<&'a str>,
pub file: &'a str,
pub line: u32,
pub extern_attrs: Vec<ExternArgs>,
pub search_path: Option<Vec<&'a str>>,
pub operator: Option<PgOperatorEntity<'a>>,
pub cast: Option<PgCastEntity>,
pub to_sql_config: ToSqlConfigEntity<'a>,
}Expand description
The output of a PgExtern from quote::ToTokens::to_tokens.
Fields§
§name: &'a str§unaliased_name: &'a str§module_path: &'a str§full_path: &'a str§fn_args: Vec<PgExternArgumentEntity<'a>>§fn_return: PgExternReturnEntity<'a>§schema: Option<&'a str>§file: &'a str§line: u32§extern_attrs: Vec<ExternArgs>§search_path: Option<Vec<&'a str>>§operator: Option<PgOperatorEntity<'a>>§cast: Option<PgCastEntity>§to_sql_config: ToSqlConfigEntity<'a>Trait Implementations§
Source§impl<'a> Clone for PgExternEntity<'a>
impl<'a> Clone for PgExternEntity<'a>
Source§fn clone(&self) -> PgExternEntity<'a>
fn clone(&self) -> PgExternEntity<'a>
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<'a> Debug for PgExternEntity<'a>
impl<'a> Debug for PgExternEntity<'a>
Source§impl<'a> From<PgExternEntity<'a>> for SqlGraphEntity<'a>
impl<'a> From<PgExternEntity<'a>> for SqlGraphEntity<'a>
Source§fn from(val: PgExternEntity<'a>) -> Self
fn from(val: PgExternEntity<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for PgExternEntity<'a>
impl<'a> Hash for PgExternEntity<'a>
Source§impl<'a> Ord for PgExternEntity<'a>
impl<'a> Ord for PgExternEntity<'a>
Source§fn cmp(&self, other: &PgExternEntity<'a>) -> Ordering
fn cmp(&self, other: &PgExternEntity<'a>) -> 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<'a> PartialEq for PgExternEntity<'a>
impl<'a> PartialEq for PgExternEntity<'a>
Source§impl<'a> PartialOrd for PgExternEntity<'a>
impl<'a> PartialOrd for PgExternEntity<'a>
Source§impl SqlGraphIdentifier for PgExternEntity<'_>
impl SqlGraphIdentifier for PgExternEntity<'_>
Source§impl ToSql for PgExternEntity<'_>
impl ToSql for PgExternEntity<'_>
impl<'a> Eq for PgExternEntity<'a>
impl<'a> StructuralPartialEq for PgExternEntity<'a>
Auto Trait Implementations§
impl<'a> Freeze for PgExternEntity<'a>
impl<'a> RefUnwindSafe for PgExternEntity<'a>
impl<'a> Send for PgExternEntity<'a>
impl<'a> Sync for PgExternEntity<'a>
impl<'a> Unpin for PgExternEntity<'a>
impl<'a> UnsafeUnpin for PgExternEntity<'a>
impl<'a> UnwindSafe for PgExternEntity<'a>
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> 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.