[][src]Struct terminus_store::layer::IdTriple

pub struct IdTriple {
    pub subject: u64,
    pub predicate: u64,
    pub object: u64,
}

A triple, stored as numerical ids.

Fields

subject: u64predicate: u64object: u64

Implementations

impl IdTriple[src]

pub fn new(subject: u64, predicate: u64, object: u64) -> Self[src]

Construct a new id triple.

pub fn to_resolved(&self) -> PartiallyResolvedTriple[src]

convert this triple into a PartiallyResolvedTriple, which is a data structure used in layer building.

Trait Implementations

impl Clone for IdTriple[src]

impl Copy for IdTriple[src]

impl Debug for IdTriple[src]

impl Eq for IdTriple[src]

impl Hash for IdTriple[src]

impl Ord for IdTriple[src]

impl PartialEq<IdTriple> for IdTriple[src]

impl PartialOrd<IdTriple> for IdTriple[src]

impl StructuralEq for IdTriple[src]

impl StructuralPartialEq for IdTriple[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,