Struct parser_database::RelationFieldId
source · pub struct RelationFieldId(/* private fields */);
Expand description
An opaque identifier for a model relation field in a schema.
Trait Implementations§
source§impl Clone for RelationFieldId
impl Clone for RelationFieldId
source§fn clone(&self) -> RelationFieldId
fn clone(&self) -> RelationFieldId
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 RelationFieldId
impl Debug for RelationFieldId
source§impl Hash for RelationFieldId
impl Hash for RelationFieldId
source§impl Ord for RelationFieldId
impl Ord for RelationFieldId
source§fn cmp(&self, other: &RelationFieldId) -> Ordering
fn cmp(&self, other: &RelationFieldId) -> 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 RelationFieldId
impl PartialEq for RelationFieldId
source§fn eq(&self, other: &RelationFieldId) -> bool
fn eq(&self, other: &RelationFieldId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RelationFieldId
impl PartialOrd for RelationFieldId
source§fn partial_cmp(&self, other: &RelationFieldId) -> Option<Ordering>
fn partial_cmp(&self, other: &RelationFieldId) -> 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 moreimpl Copy for RelationFieldId
impl Eq for RelationFieldId
impl StructuralEq for RelationFieldId
impl StructuralPartialEq for RelationFieldId
Auto Trait Implementations§
impl RefUnwindSafe for RelationFieldId
impl Send for RelationFieldId
impl Sync for RelationFieldId
impl Unpin for RelationFieldId
impl UnwindSafe for RelationFieldId
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> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.