pub struct NotAKeyword<T>(pub T);Expand description
Error raised when a string is not a JSON-LD keyword.
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: Clone> Clone for NotAKeyword<T>
impl<T: Clone> Clone for NotAKeyword<T>
impl<T: Copy> Copy for NotAKeyword<T>
Source§impl<T: Debug> Debug for NotAKeyword<T>
impl<T: Debug> Debug for NotAKeyword<T>
Source§impl<T> From<NotAKeyword<T>> for InvalidTypeKeyword<T>
impl<T> From<NotAKeyword<T>> for InvalidTypeKeyword<T>
Source§fn from(crate::NotAKeyword: NotAKeyword<T>) -> Self
fn from(crate::NotAKeyword: NotAKeyword<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for NotAKeyword<T>where
T: Freeze,
impl<T> RefUnwindSafe for NotAKeyword<T>where
T: RefUnwindSafe,
impl<T> Send for NotAKeyword<T>where
T: Send,
impl<T> Sync for NotAKeyword<T>where
T: Sync,
impl<T> Unpin for NotAKeyword<T>where
T: Unpin,
impl<T> UnsafeUnpin for NotAKeyword<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for NotAKeyword<T>where
T: 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<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
Source§fn as_unordered(&self) -> &Unordered<T>
fn as_unordered(&self) -> &Unordered<T>
Views this value as an
Unordered reference.