Struct parser_database::ManyToManyRelationId
source · pub struct ManyToManyRelationId(/* private fields */);
Expand description
Identifier for a single implicit many-to-many relation in a Prisma schema.
Trait Implementations§
source§impl Clone for ManyToManyRelationId
impl Clone for ManyToManyRelationId
source§fn clone(&self) -> ManyToManyRelationId
fn clone(&self) -> ManyToManyRelationId
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 ManyToManyRelationId
impl Debug for ManyToManyRelationId
source§impl Ord for ManyToManyRelationId
impl Ord for ManyToManyRelationId
source§fn cmp(&self, other: &ManyToManyRelationId) -> Ordering
fn cmp(&self, other: &ManyToManyRelationId) -> 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 ManyToManyRelationId
impl PartialEq for ManyToManyRelationId
source§fn eq(&self, other: &ManyToManyRelationId) -> bool
fn eq(&self, other: &ManyToManyRelationId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ManyToManyRelationId
impl PartialOrd for ManyToManyRelationId
source§fn partial_cmp(&self, other: &ManyToManyRelationId) -> Option<Ordering>
fn partial_cmp(&self, other: &ManyToManyRelationId) -> 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 ManyToManyRelationId
impl Eq for ManyToManyRelationId
impl StructuralEq for ManyToManyRelationId
impl StructuralPartialEq for ManyToManyRelationId
Auto Trait Implementations§
impl RefUnwindSafe for ManyToManyRelationId
impl Send for ManyToManyRelationId
impl Sync for ManyToManyRelationId
impl Unpin for ManyToManyRelationId
impl UnwindSafe for ManyToManyRelationId
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<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.