Struct json_ld::context::TermDefinition
source · [−]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<Nullable<Direction>>,
pub index: Option<String>,
pub language: Option<Nullable<LenientLanguageTagBuf>>,
pub nest: Option<String>,
pub typ: Option<Type<T>>,
}
Fields
value: Option<Term<T>>
prefix: bool
protected: bool
reverse_property: bool
base_url: Option<IriBuf>
context: Option<C::LocalContext>
container: Container
direction: Option<Nullable<Direction>>
index: Option<String>
language: Option<Nullable<LenientLanguageTagBuf>>
nest: Option<String>
typ: Option<Type<T>>
Implementations
Trait Implementations
impl<T: Clone + Id, C: Clone + Context<T>> Clone for TermDefinition<T, C> where
C::LocalContext: Clone,
impl<T: Clone + Id, C: Clone + Context<T>> Clone for TermDefinition<T, C> where
C::LocalContext: Clone,
Returns the “default value” for a type. Read more
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,
impl<T, C> Sync for TermDefinition<T, C> where
T: 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
Mutably borrows from an owned value. Read more