Struct json_ld_core::context::NormalTermDefinition  
source · pub struct NormalTermDefinition<T, B, C, M> {
    pub value: Option<Term<T, B>>,
    pub prefix: bool,
    pub protected: bool,
    pub reverse_property: bool,
    pub base_url: Option<T>,
    pub context: Option<Entry<C, M>>,
    pub container: Container,
    pub direction: Option<Nullable<Direction>>,
    pub index: Option<Entry<Index, M>>,
    pub language: Option<Nullable<LenientLanguageTagBuf>>,
    pub nest: Option<Entry<Nest, M>>,
    pub typ: Option<Type<T>>,
}Fields§
§value: Option<Term<T, B>>§prefix: bool§protected: bool§reverse_property: bool§base_url: Option<T>§context: Option<Entry<C, M>>§container: Container§direction: Option<Nullable<Direction>>§index: Option<Entry<Index, M>>§language: Option<Nullable<LenientLanguageTagBuf>>§nest: Option<Entry<Nest, M>>§typ: Option<Type<T>>Implementations§
source§impl<T, B, C, M> NormalTermDefinition<T, B, C, M>
 
impl<T, B, C, M> NormalTermDefinition<T, B, C, M>
pub fn modulo_protected_field(&self) -> ModuloProtected<&Self>
pub fn base_url(&self) -> Option<&T>
pub fn into_syntax_definition(
    self,
    vocabulary: &impl Vocabulary<Iri = T, BlankId = B>,
    meta: M
) -> Meta<Nullable<TermDefinition<M>>, M>where
    C: IntoSyntax<T, B, M>,
    M: Clone,
Trait Implementations§
source§impl<T: Clone, B: Clone, C: Clone, M: Clone> Clone for NormalTermDefinition<T, B, C, M>
 
impl<T: Clone, B: Clone, C: Clone, M: Clone> Clone for NormalTermDefinition<T, B, C, M>
source§fn clone(&self) -> NormalTermDefinition<T, B, C, M>
 
fn clone(&self) -> NormalTermDefinition<T, B, C, M>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl<T, B, C, M> Default for NormalTermDefinition<T, B, C, M>
 
impl<T, B, C, M> Default for NormalTermDefinition<T, B, C, M>
source§fn default() -> NormalTermDefinition<T, B, C, M>
 
fn default() -> NormalTermDefinition<T, B, C, M>
Returns the “default value” for a type. Read more
source§impl<T: PartialEq, B: PartialEq, C: PartialEq, M: PartialEq> PartialEq<NormalTermDefinition<T, B, C, M>> for NormalTermDefinition<T, B, C, M>
 
impl<T: PartialEq, B: PartialEq, C: PartialEq, M: PartialEq> PartialEq<NormalTermDefinition<T, B, C, M>> for NormalTermDefinition<T, B, C, M>
source§fn eq(&self, other: &NormalTermDefinition<T, B, C, M>) -> bool
 
fn eq(&self, other: &NormalTermDefinition<T, B, C, M>) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl<T: PartialEq<T>, B: PartialEq<B>, C: StrippedPartialEq<__C>, M: StrippedPartialEq<__M>, __C, __M> StrippedPartialEq<NormalTermDefinition<T, B, __C, __M>> for NormalTermDefinition<T, B, C, M>
 
impl<T: PartialEq<T>, B: PartialEq<B>, C: StrippedPartialEq<__C>, M: StrippedPartialEq<__M>, __C, __M> StrippedPartialEq<NormalTermDefinition<T, B, __C, __M>> for NormalTermDefinition<T, B, C, M>
fn stripped_eq(&self, other: &NormalTermDefinition<T, B, __C, __M>) -> bool
impl<T: Eq, B: Eq, C: Eq, M: Eq> Eq for NormalTermDefinition<T, B, C, M>
impl<T: Eq, B: Eq, C: StrippedEq, M: StrippedEq> StrippedEq for NormalTermDefinition<T, B, C, M>
impl<T, B, C, M> StructuralEq for NormalTermDefinition<T, B, C, M>
impl<T, B, C, M> StructuralPartialEq for NormalTermDefinition<T, B, C, M>
Auto Trait Implementations§
impl<T, B, C, M> RefUnwindSafe for NormalTermDefinition<T, B, C, M>where
    B: RefUnwindSafe,
    C: RefUnwindSafe,
    M: RefUnwindSafe,
    T: RefUnwindSafe,
impl<T, B, C, M> Send for NormalTermDefinition<T, B, C, M>where
    B: Send,
    C: Send,
    M: Send,
    T: Send,
impl<T, B, C, M> Sync for NormalTermDefinition<T, B, C, M>where
    B: Sync,
    C: Sync,
    M: Sync,
    T: Sync,
impl<T, B, C, M> Unpin for NormalTermDefinition<T, B, C, M>where
    B: Unpin,
    C: Unpin,
    M: Unpin,
    T: Unpin,
impl<T, B, C, M> UnwindSafe for NormalTermDefinition<T, B, C, M>where
    B: UnwindSafe,
    C: UnwindSafe,
    M: UnwindSafe,
    T: UnwindSafe,
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
source§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.