[][src]Struct rlay_ontology::ontology::ClassAssertion

pub struct ClassAssertion {
    pub annotations: Vec<Vec<u8>>,
    pub subject: Option<Vec<u8>>,
    pub class: Vec<u8>,
}

Fields

annotations: Vec<Vec<u8>>subject: Option<Vec<u8>>class: Vec<u8>

Methods

impl ClassAssertion[src]

pub fn subject(&self) -> &[u8][src]

impl ClassAssertion[src]

pub fn get_subject(&self) -> Option<&Vec<u8>>[src]

Trait Implementations

impl AssociatedCodec for ClassAssertion[src]

impl Canonicalize for ClassAssertion[src]

impl CidFieldNames for ClassAssertion[src]

impl<'a> CidFields<'a> for ClassAssertion[src]

type Iter = ClassAssertionCidFields<'a>

impl Clone for ClassAssertion[src]

impl DataFieldNames for ClassAssertion[src]

impl<'a> DataFields<'a> for ClassAssertion[src]

type Iter = ClassAssertionDataFields<'a>

impl Debug for ClassAssertion[src]

impl Default for ClassAssertion[src]

impl<'a> FormatCompact<'a> for ClassAssertion[src]

impl From<ClassAssertion> for ClassAssertionFormatCompact[src]

impl GetAssertionComplement for ClassAssertion[src]

impl Into<ClassAssertion> for ClassAssertionFormatCompact[src]

impl Into<Entity> for ClassAssertion[src]

impl Message for ClassAssertion[src]

impl PartialEq<ClassAssertion> for ClassAssertion[src]

impl StructuralPartialEq for ClassAssertion[src]

impl ToCid for ClassAssertion[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> Same<T> for T

type Output = T

Should always be Self

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.