Enum json_ld::object::InvalidExpandedJson
source · [−]pub enum InvalidExpandedJson<M> {
InvalidObject,
InvalidList,
InvalidIndex,
InvalidId,
InvalidValueType,
InvalidLiteral,
InvalidLanguage,
InvalidDirection,
NotExpanded,
UnexpectedEntry,
DuplicateKey(Meta<SmallString<[u8; 16]>, M>),
Unexpected(Kind, Kind),
}
Variants
InvalidObject
InvalidList
InvalidIndex
InvalidId
InvalidValueType
InvalidLiteral
InvalidLanguage
InvalidDirection
NotExpanded
UnexpectedEntry
DuplicateKey(Meta<SmallString<[u8; 16]>, M>)
Unexpected(Kind, Kind)
Implementations
sourceimpl<M> InvalidExpandedJson<M>
impl<M> InvalidExpandedJson<M>
pub fn duplicate_key(Duplicate<Entry<M>>) -> Meta<InvalidExpandedJson<M>, M>
Trait Implementations
Auto Trait Implementations
impl<M> RefUnwindSafe for InvalidExpandedJson<M>where
M: RefUnwindSafe,
impl<M> Send for InvalidExpandedJson<M>where
M: Send,
impl<M> Sync for InvalidExpandedJson<M>where
M: Sync,
impl<M> Unpin for InvalidExpandedJson<M>where
M: Unpin,
impl<M> UnwindSafe for InvalidExpandedJson<M>where
M: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more