[−][src]Struct rlay_ontology::ontology::ClassAssertion
Fields
annotations: Vec<Vec<u8>>
subject: Option<Vec<u8>>
class: Vec<u8>
Methods
impl ClassAssertion
[src]
pub fn get_subject(&self) -> Option<&Vec<u8>>
[src]
impl ClassAssertion
[src]
pub fn subject(&self) -> &[u8]
[src]
Returns the value of subject
, or the default value if subject
is unset.
Trait Implementations
impl AssociatedCodec for ClassAssertion
[src]
const CODEC_CODE: u64
[src]
impl Canonicalize for ClassAssertion
[src]
fn canonicalize(&mut self)
[src]
impl CidFieldNames for ClassAssertion
[src]
fn cid_field_names() -> &'static [&'static str]
[src]
impl<'a> CidFields<'a> for ClassAssertion
[src]
type Iter = ClassAssertionCidFields<'a>
ⓘImportant traits for ClassAssertionCidFields<'a>fn iter_cid_fields(&'a self) -> ClassAssertionCidFields
[src]
ⓘImportant traits for ClassAssertionCidFields<'a>
impl Clone for ClassAssertion
[src]
fn clone(&self) -> ClassAssertion
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl DataFieldNames for ClassAssertion
[src]
fn data_field_names() -> &'static [&'static str]
[src]
impl<'a> DataFields<'a> for ClassAssertion
[src]
type Iter = ClassAssertionDataFields<'a>
ⓘImportant traits for ClassAssertionDataFields<'a>fn iter_data_fields(&'a self) -> ClassAssertionDataFields
[src]
ⓘImportant traits for ClassAssertionDataFields<'a>
impl Debug for ClassAssertion
[src]
impl Default for ClassAssertion
[src]
fn default() -> ClassAssertion
[src]
impl<'a> FormatCompact<'a> for ClassAssertion
[src]
type Formatted = ClassAssertionFormatCompact
fn to_compact_format(self) -> Self::Formatted
[src]
fn from_compact_format(formatted: Self::Formatted) -> Self
[src]
impl From<ClassAssertion> for ClassAssertionFormatCompact
[src]
fn from(original: ClassAssertion) -> Self
[src]
impl GetAssertionComplement for ClassAssertion
[src]
type Complement = NegativeClassAssertion
fn get_assertion_complement(&self) -> Self::Complement
[src]
impl Into<ClassAssertion> for ClassAssertionFormatCompact
[src]
fn into(self) -> ClassAssertion
[src]
impl Into<Entity> for ClassAssertion
[src]
impl Message for ClassAssertion
[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<ClassAssertion> for ClassAssertion
[src]
fn eq(&self, other: &ClassAssertion) -> bool
[src]
fn ne(&self, other: &ClassAssertion) -> bool
[src]
impl StructuralPartialEq for ClassAssertion
[src]
impl ToCid for ClassAssertion
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClassAssertion
impl Send for ClassAssertion
impl Sync for ClassAssertion
impl Unpin for ClassAssertion
impl UnwindSafe for ClassAssertion
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>,