pub enum PrimitiveID {
Input(InputID),
Output(OutputID),
Query(QueryID),
Queryable(QueryableID),
}
Expand description
Represents a unique identifier for a primitive in the graph.
Variants§
Implementations§
Trait Implementations§
Source§impl AsRef<Uuid> for PrimitiveID
impl AsRef<Uuid> for PrimitiveID
Source§impl Clone for PrimitiveID
impl Clone for PrimitiveID
Source§fn clone(&self) -> PrimitiveID
fn clone(&self) -> PrimitiveID
Returns a duplicate 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 PrimitiveID
impl Debug for PrimitiveID
Source§impl From<&InputID> for PrimitiveID
impl From<&InputID> for PrimitiveID
Source§fn from(value: &InputID) -> PrimitiveID
fn from(value: &InputID) -> PrimitiveID
Converts to this type from the input type.
Source§impl From<&OutputID> for PrimitiveID
impl From<&OutputID> for PrimitiveID
Source§fn from(value: &OutputID) -> PrimitiveID
fn from(value: &OutputID) -> PrimitiveID
Converts to this type from the input type.
Source§impl From<&PrimitiveID> for Uuid
impl From<&PrimitiveID> for Uuid
Source§fn from(val: &PrimitiveID) -> Uuid
fn from(val: &PrimitiveID) -> Uuid
Converts to this type from the input type.
Source§impl From<&QueryID> for PrimitiveID
impl From<&QueryID> for PrimitiveID
Source§fn from(value: &QueryID) -> PrimitiveID
fn from(value: &QueryID) -> PrimitiveID
Converts to this type from the input type.
Source§impl From<&QueryableID> for PrimitiveID
impl From<&QueryableID> for PrimitiveID
Source§fn from(value: &QueryableID) -> PrimitiveID
fn from(value: &QueryableID) -> PrimitiveID
Converts to this type from the input type.
Source§impl From<InputID> for PrimitiveID
impl From<InputID> for PrimitiveID
Source§fn from(value: InputID) -> PrimitiveID
fn from(value: InputID) -> PrimitiveID
Converts to this type from the input type.
Source§impl From<OutputID> for PrimitiveID
impl From<OutputID> for PrimitiveID
Source§fn from(value: OutputID) -> PrimitiveID
fn from(value: OutputID) -> PrimitiveID
Converts to this type from the input type.
Source§impl From<PrimitiveID> for Uuid
impl From<PrimitiveID> for Uuid
Source§fn from(val: PrimitiveID) -> Uuid
fn from(val: PrimitiveID) -> Uuid
Converts to this type from the input type.
Source§impl From<QueryID> for PrimitiveID
impl From<QueryID> for PrimitiveID
Source§fn from(value: QueryID) -> PrimitiveID
fn from(value: QueryID) -> PrimitiveID
Converts to this type from the input type.
Source§impl From<QueryableID> for PrimitiveID
impl From<QueryableID> for PrimitiveID
Source§fn from(value: QueryableID) -> PrimitiveID
fn from(value: QueryableID) -> PrimitiveID
Converts to this type from the input type.
Source§impl Hash for PrimitiveID
impl Hash for PrimitiveID
Source§impl PartialEq for PrimitiveID
impl PartialEq for PrimitiveID
Source§impl TryFrom<PrimitiveID> for InputID
impl TryFrom<PrimitiveID> for InputID
Source§impl TryFrom<PrimitiveID> for OutputID
impl TryFrom<PrimitiveID> for OutputID
Source§impl TryFrom<PrimitiveID> for QueryID
impl TryFrom<PrimitiveID> for QueryID
Source§impl TryFrom<PrimitiveID> for QueryableID
impl TryFrom<PrimitiveID> for QueryableID
impl Eq for PrimitiveID
impl StructuralPartialEq for PrimitiveID
Auto Trait Implementations§
impl Freeze for PrimitiveID
impl RefUnwindSafe for PrimitiveID
impl Send for PrimitiveID
impl Sync for PrimitiveID
impl Unpin for PrimitiveID
impl UnwindSafe for PrimitiveID
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.