pub struct PostgresTypeEntity {
pub name: &'static str,
pub file: &'static str,
pub line: u32,
pub full_path: &'static str,
pub module_path: &'static str,
pub mappings: BTreeSet<RustSqlMapping>,
pub in_fn: &'static str,
pub in_fn_module_path: String,
pub out_fn: &'static str,
pub out_fn_module_path: String,
pub to_sql_config: ToSqlConfigEntity,
}
Expand description
The output of a PostgresType
from quote::ToTokens::to_tokens
.
Fields§
§name: &'static str
§file: &'static str
§line: u32
§full_path: &'static str
§module_path: &'static str
§mappings: BTreeSet<RustSqlMapping>
§in_fn: &'static str
§in_fn_module_path: String
§out_fn: &'static str
§out_fn_module_path: String
§to_sql_config: ToSqlConfigEntity
Trait Implementations§
Source§impl Clone for PostgresTypeEntity
impl Clone for PostgresTypeEntity
Source§fn clone(&self) -> PostgresTypeEntity
fn clone(&self) -> PostgresTypeEntity
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 PostgresTypeEntity
impl Debug for PostgresTypeEntity
Source§impl From<PostgresTypeEntity> for SqlGraphEntity
impl From<PostgresTypeEntity> for SqlGraphEntity
Source§fn from(val: PostgresTypeEntity) -> Self
fn from(val: PostgresTypeEntity) -> Self
Converts to this type from the input type.
Source§impl Hash for PostgresTypeEntity
impl Hash for PostgresTypeEntity
Source§impl Ord for PostgresTypeEntity
impl Ord for PostgresTypeEntity
Source§fn cmp(&self, other: &PostgresTypeEntity) -> Ordering
fn cmp(&self, other: &PostgresTypeEntity) -> 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 PostgresTypeEntity
impl PartialEq for PostgresTypeEntity
Source§impl PartialOrd for PostgresTypeEntity
impl PartialOrd for PostgresTypeEntity
Source§impl ToSql for PostgresTypeEntity
impl ToSql for PostgresTypeEntity
Source§impl TypeMatch for PostgresTypeEntity
impl TypeMatch for PostgresTypeEntity
fn id_matches(&self, candidate: &TypeId) -> bool
impl Eq for PostgresTypeEntity
impl StructuralPartialEq for PostgresTypeEntity
Auto Trait Implementations§
impl Freeze for PostgresTypeEntity
impl RefUnwindSafe for PostgresTypeEntity
impl Send for PostgresTypeEntity
impl Sync for PostgresTypeEntity
impl Unpin for PostgresTypeEntity
impl UnwindSafe for PostgresTypeEntity
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.