[][src]Struct rlay_ontology::ontology::NegativeDataPropertyAssertion

pub struct NegativeDataPropertyAssertion {
    pub annotations: Vec<Vec<u8>>,
    pub subject: Option<Vec<u8>>,
    pub property: Option<Vec<u8>>,
    pub target: Option<Vec<u8>>,
}

Fields

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

Methods

impl NegativeDataPropertyAssertion[src]

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

Returns the value of subject, or the default value if subject is unset.

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

Returns the value of property, or the default value if property is unset.

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

Returns the value of target, or the default value if target is unset.

Trait Implementations

impl AssociatedCodec for NegativeDataPropertyAssertion[src]

impl Canonicalize for NegativeDataPropertyAssertion[src]

impl CidFieldNames for NegativeDataPropertyAssertion[src]

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

impl Clone for NegativeDataPropertyAssertion[src]

impl DataFieldNames for NegativeDataPropertyAssertion[src]

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

impl Debug for NegativeDataPropertyAssertion[src]

impl Default for NegativeDataPropertyAssertion[src]

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

impl From<NegativeDataPropertyAssertion> for NegativeDataPropertyAssertionFormatCompact[src]

impl Into<Entity> for NegativeDataPropertyAssertion[src]

impl Into<NegativeDataPropertyAssertion> for NegativeDataPropertyAssertionFormatCompact[src]

impl Message for NegativeDataPropertyAssertion[src]

impl PartialEq<NegativeDataPropertyAssertion> for NegativeDataPropertyAssertion[src]

impl StructuralPartialEq for NegativeDataPropertyAssertion[src]

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