#[repr(transparent)]pub struct CompactJsonLd(pub Value);Tuple Fields§
§0: ValueImplementations§
Source§impl CompactJsonLd
impl CompactJsonLd
pub fn from_value_ref(value: &Value) -> &Self
Trait Implementations§
Source§impl Clone for CompactJsonLd
impl Clone for CompactJsonLd
Source§fn clone(&self) -> CompactJsonLd
fn clone(&self) -> CompactJsonLd
Returns a duplicate 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 Debug for CompactJsonLd
impl Debug for CompactJsonLd
Source§impl<'de> Deserialize<'de> for CompactJsonLd
impl<'de> Deserialize<'de> for CompactJsonLd
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Expandable for CompactJsonLd
impl Expandable for CompactJsonLd
type Error = JsonLdError
type Expanded<I, V> = ExpandedDocument<<V as IriVocabulary>::Iri, <V as BlankIdVocabulary>::BlankId> where I: Interpretation, V: VocabularyMut, V::Iri: LinkedDataResource<I, V> + LinkedDataSubject<I, V>, V::BlankId: LinkedDataResource<I, V> + LinkedDataSubject<I, V>
async fn expand_with<I, V>(
&self,
ld: &mut LdEnvironment<V, I>,
loader: &impl Loader,
) -> Result<Self::Expanded<I, V>, Self::Error>where
I: Interpretation,
V: VocabularyMut,
V::Iri: Clone + Eq + Hash + LinkedDataResource<I, V> + LinkedDataSubject<I, V>,
V::BlankId: Clone + Eq + Hash + LinkedDataResource<I, V> + LinkedDataSubject<I, V>,
async fn expand( &self, loader: &impl Loader, ) -> Result<Self::Expanded<WithGenerator<Blank>, ()>, Self::Error>
Source§impl JsonLdObject for CompactJsonLd
impl JsonLdObject for CompactJsonLd
Source§impl PartialEq for CompactJsonLd
impl PartialEq for CompactJsonLd
Source§impl Serialize for CompactJsonLd
impl Serialize for CompactJsonLd
impl Eq for CompactJsonLd
impl StructuralPartialEq for CompactJsonLd
Auto Trait Implementations§
impl Freeze for CompactJsonLd
impl RefUnwindSafe for CompactJsonLd
impl Send for CompactJsonLd
impl Sync for CompactJsonLd
impl Unpin for CompactJsonLd
impl UnwindSafe for CompactJsonLd
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<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.