Enum db_traits::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]
fn clone(&self) -> CardinalityConflict
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for CardinalityConflict
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for CardinalityConflict
[src]
impl PartialEq for CardinalityConflict
[src]
fn eq(&self, __arg_0: &CardinalityConflict) -> bool
[src]
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]
This method tests for !=
.