pub struct PostgresHashEntity<'a> {
pub name: &'a str,
pub file: &'a str,
pub line: u32,
pub full_path: &'a str,
pub module_path: &'a str,
pub type_ident: &'a str,
pub to_sql_config: ToSqlConfigEntity<'a>,
}Expand description
The output of a PostgresHash from quote::ToTokens::to_tokens.
Fields§
§name: &'a str§file: &'a str§line: u32§full_path: &'a str§module_path: &'a str§type_ident: &'a str§to_sql_config: ToSqlConfigEntity<'a>Trait Implementations§
Source§impl<'a> Clone for PostgresHashEntity<'a>
impl<'a> Clone for PostgresHashEntity<'a>
Source§fn clone(&self) -> PostgresHashEntity<'a>
fn clone(&self) -> PostgresHashEntity<'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 PostgresHashEntity<'a>
impl<'a> Debug for PostgresHashEntity<'a>
Source§impl<'a> From<PostgresHashEntity<'a>> for SqlGraphEntity<'a>
impl<'a> From<PostgresHashEntity<'a>> for SqlGraphEntity<'a>
Source§fn from(val: PostgresHashEntity<'a>) -> Self
fn from(val: PostgresHashEntity<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for PostgresHashEntity<'a>
impl<'a> Hash for PostgresHashEntity<'a>
Source§impl<'a> Ord for PostgresHashEntity<'a>
impl<'a> Ord for PostgresHashEntity<'a>
Source§fn cmp(&self, other: &PostgresHashEntity<'a>) -> Ordering
fn cmp(&self, other: &PostgresHashEntity<'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 PostgresHashEntity<'a>
impl<'a> PartialEq for PostgresHashEntity<'a>
Source§impl<'a> PartialOrd for PostgresHashEntity<'a>
impl<'a> PartialOrd for PostgresHashEntity<'a>
Source§impl SqlGraphIdentifier for PostgresHashEntity<'_>
impl SqlGraphIdentifier for PostgresHashEntity<'_>
Source§impl ToSql for PostgresHashEntity<'_>
impl ToSql for PostgresHashEntity<'_>
impl<'a> Eq for PostgresHashEntity<'a>
impl<'a> StructuralPartialEq for PostgresHashEntity<'a>
Auto Trait Implementations§
impl<'a> Freeze for PostgresHashEntity<'a>
impl<'a> RefUnwindSafe for PostgresHashEntity<'a>
impl<'a> Send for PostgresHashEntity<'a>
impl<'a> Sync for PostgresHashEntity<'a>
impl<'a> Unpin for PostgresHashEntity<'a>
impl<'a> UnsafeUnpin for PostgresHashEntity<'a>
impl<'a> UnwindSafe for PostgresHashEntity<'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.