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 (const: unstable) · 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
impl Eq 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) -> Self
fn from(val: &PrimitiveID) -> Self
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) -> Self
fn from(val: PrimitiveID) -> Self
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§fn eq(&self, other: &PrimitiveID) -> bool
fn eq(&self, other: &PrimitiveID) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq 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
Auto Trait Implementations§
impl Freeze for PrimitiveID
impl RefUnwindSafe for PrimitiveID
impl Send for PrimitiveID
impl Sync for PrimitiveID
impl Unpin for PrimitiveID
impl UnsafeUnpin 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