Struct json_ld_syntax::context::term_definition::Expanded
source · pub struct Expanded<M, C = Value<M>> {
pub id: Option<Entry<Nullable<Id>, M>>,
pub type_: Option<Entry<Nullable<Type>, M>>,
pub context: Option<Entry<Box<C>, M>>,
pub reverse: Option<Entry<Key, M>>,
pub index: Option<Entry<Index, M>>,
pub language: Option<Entry<Nullable<LenientLanguageTagBuf>, M>>,
pub direction: Option<Entry<Nullable<Direction>, M>>,
pub container: Option<Entry<Nullable<Container<M>>, M>>,
pub nest: Option<Entry<Nest, M>>,
pub prefix: Option<Entry<bool, M>>,
pub propagate: Option<Entry<bool, M>>,
pub protected: Option<Entry<bool, M>>,
}
Expand description
Expanded term definition.
Fields§
§id: Option<Entry<Nullable<Id>, M>>
§type_: Option<Entry<Nullable<Type>, M>>
§context: Option<Entry<Box<C>, M>>
§reverse: Option<Entry<Key, M>>
§index: Option<Entry<Index, M>>
§language: Option<Entry<Nullable<LenientLanguageTagBuf>, M>>
§direction: Option<Entry<Nullable<Direction>, M>>
§container: Option<Entry<Nullable<Container<M>>, M>>
§nest: Option<Entry<Nest, M>>
§prefix: Option<Entry<bool, M>>
§propagate: Option<Entry<bool, M>>
§protected: Option<Entry<bool, M>>
Implementations§
Trait Implementations§
source§impl<M> IntoJsonMeta<M> for Expanded<M>
impl<M> IntoJsonMeta<M> for Expanded<M>
fn into_json_meta(self, meta: M) -> Meta<Value<M>, M>
source§impl<M: PartialEq, C: PartialEq> PartialEq<Expanded<M, C>> for Expanded<M, C>
impl<M: PartialEq, C: PartialEq> PartialEq<Expanded<M, C>> for Expanded<M, C>
source§impl<M, C: StrippedPartialEq<__C>, __M, __C> StrippedPartialEq<Expanded<__M, __C>> for Expanded<M, C>
impl<M, C: StrippedPartialEq<__C>, __M, __C> StrippedPartialEq<Expanded<__M, __C>> for Expanded<M, C>
fn stripped_eq(&self, other: &Expanded<__M, __C>) -> bool
impl<M: Eq, C: Eq> Eq for Expanded<M, C>
impl<M, C> StructuralEq for Expanded<M, C>
impl<M, C> StructuralPartialEq for Expanded<M, C>
Auto Trait Implementations§
impl<M, C> RefUnwindSafe for Expanded<M, C>where C: RefUnwindSafe, M: RefUnwindSafe,
impl<M, C> Send for Expanded<M, C>where C: Send, M: Send,
impl<M, C> Sync for Expanded<M, C>where C: Sync, M: Sync,
impl<M, C> Unpin for Expanded<M, C>where M: Unpin,
impl<M, C> UnwindSafe for Expanded<M, C>where C: UnwindSafe, M: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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.