[][src]Struct json_ld::context::TermDefinition

pub struct TermDefinition<T: Id, C: Context<T>> {
    pub value: Option<Term<T>>,
    pub prefix: bool,
    pub protected: bool,
    pub reverse_property: bool,
    pub base_url: Option<IriBuf>,
    pub context: Option<C::LocalContext>,
    pub container: Container,
    pub direction: Option<Option<Direction>>,
    pub index: Option<String>,
    pub language: Option<Option<String>>,
    pub nest: Option<String>,
    pub typ: Option<Type<T>>,
}

Fields

value: Option<Term<T>>prefix: boolprotected: boolreverse_property: boolbase_url: Option<IriBuf>context: Option<C::LocalContext>container: Containerdirection: Option<Option<Direction>>index: Option<String>language: Option<Option<String>>nest: Option<String>typ: Option<Type<T>>

Trait Implementations

impl<T: Clone + Id, C: Clone + Context<T>> Clone for TermDefinition<T, C> where
    C::LocalContext: Clone
[src]

impl<T: Id, C: Context<T>> Default for TermDefinition<T, C>[src]

impl<T: Id, C: Context<T>> Eq for TermDefinition<T, C>[src]

impl<T: Id, C: Context<T>> PartialEq<TermDefinition<T, C>> for TermDefinition<T, C>[src]

Auto Trait Implementations

impl<T, C> RefUnwindSafe for TermDefinition<T, C> where
    T: RefUnwindSafe,
    <C as Context<T>>::LocalContext: RefUnwindSafe

impl<T, C> Send for TermDefinition<T, C> where
    T: Send,
    <C as Context<T>>::LocalContext: Send

impl<T, C> Sync for TermDefinition<T, C> where
    T: Sync,
    <C as Context<T>>::LocalContext: Sync

impl<T, C> Unpin for TermDefinition<T, C> where
    T: Unpin,
    <C as Context<T>>::LocalContext: Unpin

impl<T, C> UnwindSafe for TermDefinition<T, C> where
    T: UnwindSafe,
    <C as Context<T>>::LocalContext: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToOwned for T[src]

type Owned = T

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.