pub enum InputSemantics {
Raw,
CardinalityOne,
CardinalityMany,
}
Expand description
Attribute indices can have various operations applied to them, based on their semantics.
Variants§
Raw
No special semantics enforced. Source is responsible for everything.
CardinalityOne
Only a single value per eid is allowed at any given timestamp.
CardinalityMany
Multiple different values for any given eid are allowed, but (e,v) pairs are enforced to be distinct.
Trait Implementations§
Source§impl Clone for InputSemantics
impl Clone for InputSemantics
Source§fn clone(&self) -> InputSemantics
fn clone(&self) -> InputSemantics
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 InputSemantics
impl Debug for InputSemantics
Source§impl<'de> Deserialize<'de> for InputSemantics
impl<'de> Deserialize<'de> for InputSemantics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for InputSemantics
impl Hash for InputSemantics
Source§impl Ord for InputSemantics
impl Ord for InputSemantics
Source§fn cmp(&self, other: &InputSemantics) -> Ordering
fn cmp(&self, other: &InputSemantics) -> 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 InputSemantics
impl PartialEq for InputSemantics
Source§impl PartialOrd for InputSemantics
impl PartialOrd for InputSemantics
Source§impl Serialize for InputSemantics
impl Serialize for InputSemantics
impl Eq for InputSemantics
impl StructuralPartialEq for InputSemantics
Auto Trait Implementations§
impl Freeze for InputSemantics
impl RefUnwindSafe for InputSemantics
impl Send for InputSemantics
impl Sync for InputSemantics
impl Unpin for InputSemantics
impl UnwindSafe for InputSemantics
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