Enum mentat_db::errors::CardinalityConflict
[−]
[src]
pub enum CardinalityConflict { CardinalityOneAddConflict { e: Entid, a: Entid, vs: BTreeSet<TypedValue>, }, AddRetractConflict { e: Entid, a: Entid, vs: BTreeSet<TypedValue>, }, }
Variants
CardinalityOneAddConflict
A cardinality one attribute has multiple assertions [e a v1], [e a v2], ...
.
Fields of CardinalityOneAddConflict
e: Entid | |
a: Entid | |
vs: BTreeSet<TypedValue> |
AddRetractConflict
A datom has been both asserted and retracted, like [:db/add e a v]
and [:db/retract e a v]
.
Fields of AddRetractConflict
e: Entid | |
a: Entid | |
vs: BTreeSet<TypedValue> |
Trait Implementations
impl Clone for CardinalityConflict
[src]
impl Clone for CardinalityConflict
fn clone(&self) -> CardinalityConflict
[src]
fn clone(&self) -> CardinalityConflict
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for CardinalityConflict
[src]
impl Debug for CardinalityConflict
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for CardinalityConflict
[src]
impl Eq for CardinalityConflict
impl PartialEq for CardinalityConflict
[src]
impl PartialEq for CardinalityConflict
fn eq(&self, __arg_0: &CardinalityConflict) -> bool
[src]
fn eq(&self, __arg_0: &CardinalityConflict) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CardinalityConflict) -> bool
[src]
fn ne(&self, __arg_0: &CardinalityConflict) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CardinalityConflict
impl Send for CardinalityConflict
impl Sync for CardinalityConflict
impl Sync for CardinalityConflict