[][src]Struct rlay_ontology::ontology::AnnotationAssertion

pub struct AnnotationAssertion {
    pub annotations: Vec<Vec<u8>>,
    pub subject: Option<Vec<u8>>,
    pub property: Option<Vec<u8>>,
    pub value: Option<Vec<u8>>,
}

Fields

annotations: Vec<Vec<u8>>subject: Option<Vec<u8>>property: Option<Vec<u8>>value: Option<Vec<u8>>

Methods

impl AnnotationAssertion[src]

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

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

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

Trait Implementations

impl AssociatedCodec for AnnotationAssertion[src]

impl Canonicalize for AnnotationAssertion[src]

impl CidFieldNames for AnnotationAssertion[src]

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

impl Clone for AnnotationAssertion[src]

impl DataFieldNames for AnnotationAssertion[src]

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

impl Debug for AnnotationAssertion[src]

impl Default for AnnotationAssertion[src]

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

impl From<AnnotationAssertion> for AnnotationAssertionFormatCompact[src]

impl Into<AnnotationAssertion> for AnnotationAssertionFormatCompact[src]

impl Into<Entity> for AnnotationAssertion[src]

impl Message for AnnotationAssertion[src]

impl PartialEq<AnnotationAssertion> for AnnotationAssertion[src]

impl StructuralPartialEq for AnnotationAssertion[src]

impl ToCid for AnnotationAssertion[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.