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§impl PartialOrd for SchemaEntity
impl PartialOrd for SchemaEntity
Source§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<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.