[−][src]Struct rlay_ontology::ontology::AnnotationAssertion
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]
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 value(&self) -> &[u8]
[src]
Returns the value of value
, or the default value if value
is unset.
Trait Implementations
impl AssociatedCodec for AnnotationAssertion
[src]
const CODEC_CODE: u64
[src]
impl Canonicalize for AnnotationAssertion
[src]
fn canonicalize(&mut self)
[src]
impl CidFieldNames for AnnotationAssertion
[src]
fn cid_field_names() -> &'static [&'static str]
[src]
impl<'a> CidFields<'a> for AnnotationAssertion
[src]
type Iter = AnnotationAssertionCidFields<'a>
ⓘImportant traits for AnnotationAssertionCidFields<'a>fn iter_cid_fields(&'a self) -> AnnotationAssertionCidFields
[src]
ⓘImportant traits for AnnotationAssertionCidFields<'a>
impl Clone for AnnotationAssertion
[src]
fn clone(&self) -> AnnotationAssertion
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl DataFieldNames for AnnotationAssertion
[src]
fn data_field_names() -> &'static [&'static str]
[src]
impl<'a> DataFields<'a> for AnnotationAssertion
[src]
type Iter = AnnotationAssertionDataFields<'a>
ⓘImportant traits for AnnotationAssertionDataFields<'a>fn iter_data_fields(&'a self) -> AnnotationAssertionDataFields
[src]
ⓘImportant traits for AnnotationAssertionDataFields<'a>
impl Debug for AnnotationAssertion
[src]
impl Default for AnnotationAssertion
[src]
fn default() -> AnnotationAssertion
[src]
impl<'a> FormatCompact<'a> for AnnotationAssertion
[src]
type Formatted = AnnotationAssertionFormatCompact
fn to_compact_format(self) -> Self::Formatted
[src]
fn from_compact_format(formatted: Self::Formatted) -> Self
[src]
impl From<AnnotationAssertion> for AnnotationAssertionFormatCompact
[src]
fn from(original: AnnotationAssertion) -> Self
[src]
impl Into<AnnotationAssertion> for AnnotationAssertionFormatCompact
[src]
fn into(self) -> AnnotationAssertion
[src]
impl Into<Entity> for AnnotationAssertion
[src]
impl Message for AnnotationAssertion
[src]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
[src]
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
[src]
B: Buf,
Self: Default,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl PartialEq<AnnotationAssertion> for AnnotationAssertion
[src]
fn eq(&self, other: &AnnotationAssertion) -> bool
[src]
fn ne(&self, other: &AnnotationAssertion) -> bool
[src]
impl StructuralPartialEq for AnnotationAssertion
[src]
impl ToCid for AnnotationAssertion
[src]
Auto Trait Implementations
impl RefUnwindSafe for AnnotationAssertion
impl Send for AnnotationAssertion
impl Sync for AnnotationAssertion
impl Unpin for AnnotationAssertion
impl UnwindSafe for AnnotationAssertion
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,