pub struct DecodeOptions<'a> {
pub type_table: Option<&'a TypeTable>,
}Expand description
Options for CBOR-LD to JSON-LD decoding.
Fields§
§type_table: Option<&'a TypeTable>Registry type table material. Required for compressed IDs other than
1; ID 1 uses an empty default table.
Trait Implementations§
Source§impl<'a> Clone for DecodeOptions<'a>
impl<'a> Clone for DecodeOptions<'a>
Source§fn clone(&self) -> DecodeOptions<'a>
fn clone(&self) -> DecodeOptions<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for DecodeOptions<'a>
Source§impl<'a> Debug for DecodeOptions<'a>
impl<'a> Debug for DecodeOptions<'a>
Source§impl<'a> Default for DecodeOptions<'a>
impl<'a> Default for DecodeOptions<'a>
Source§fn default() -> DecodeOptions<'a>
fn default() -> DecodeOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for DecodeOptions<'a>
impl<'a> RefUnwindSafe for DecodeOptions<'a>
impl<'a> Send for DecodeOptions<'a>
impl<'a> Sync for DecodeOptions<'a>
impl<'a> Unpin for DecodeOptions<'a>
impl<'a> UnsafeUnpin for DecodeOptions<'a>
impl<'a> UnwindSafe for DecodeOptions<'a>
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