pub struct MalformedIri(pub String);Expand description
Warning reporting that a value expanded to something that is not a valid IRI.
Carries the value as it was written. A dedicated type rather than a
Warning variant so that the algorithm can raise it against any warning
vocabulary that knows how to build itself From<MalformedIri> —
jsonld-expansion has its own warning enum and reuses this.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl From<MalformedIri> for Warning
impl From<MalformedIri> for Warning
Source§fn from(MalformedIri: MalformedIri) -> Self
fn from(MalformedIri: MalformedIri) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MalformedIri
impl RefUnwindSafe for MalformedIri
impl Send for MalformedIri
impl Sync for MalformedIri
impl Unpin for MalformedIri
impl UnsafeUnpin for MalformedIri
impl UnwindSafe for MalformedIri
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.