pub enum HeaderValue {
Text(String),
Resource(String),
}Expand description
Whether a header property was written as element text or as an rdf:resource.
The distinction matters: re-emitting a resource as text changes an IRI-valued property into a literal, which no longer resolves.
Variants§
Trait Implementations§
Source§impl Clone for HeaderValue
impl Clone for HeaderValue
Source§impl Debug for HeaderValue
impl Debug for HeaderValue
impl Eq for HeaderValue
Source§impl PartialEq for HeaderValue
impl PartialEq for HeaderValue
impl StructuralPartialEq for HeaderValue
Auto Trait Implementations§
impl Forget for HeaderValue
impl Freeze for HeaderValue
impl Move for HeaderValue
impl RefUnwindSafe for HeaderValue
impl Send for HeaderValuewhere
RawVecInner: Send,
impl Sync for HeaderValuewhere
RawVecInner: Sync,
impl Unpin for HeaderValue
impl UnsafeUnpin for HeaderValue
impl UnwindSafe for HeaderValuewhere
RawVecInner: 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> 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.