pub(crate) struct FlatCsv<Sep = Comma> {
pub(crate) value: HeaderValue,
_marker: PhantomData<Sep>,
}
Fields§
§value: HeaderValue
§_marker: PhantomData<Sep>
Implementations§
Trait Implementations§
source§impl<'a, Sep> From<&'a FlatCsv<Sep>> for HeaderValue
impl<'a, Sep> From<&'a FlatCsv<Sep>> for HeaderValue
source§fn from(flat: &'a FlatCsv<Sep>) -> HeaderValue
fn from(flat: &'a FlatCsv<Sep>) -> HeaderValue
Converts to this type from the input type.
source§impl<Sep> From<HeaderValue> for FlatCsv<Sep>
impl<Sep> From<HeaderValue> for FlatCsv<Sep>
source§fn from(value: HeaderValue) -> Self
fn from(value: HeaderValue) -> Self
Converts to this type from the input type.
source§impl<'a, Sep: Separator> FromIterator<&'a HeaderValue> for FlatCsv<Sep>
impl<'a, Sep: Separator> FromIterator<&'a HeaderValue> for FlatCsv<Sep>
source§fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = &'a HeaderValue>,
fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = &'a HeaderValue>,
Creates a value from an iterator. Read more
source§impl<Sep: Separator> FromIterator<HeaderValue> for FlatCsv<Sep>
impl<Sep: Separator> FromIterator<HeaderValue> for FlatCsv<Sep>
source§fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = HeaderValue>,
fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = HeaderValue>,
Creates a value from an iterator. Read more
source§impl<Sep: PartialEq> PartialEq for FlatCsv<Sep>
impl<Sep: PartialEq> PartialEq for FlatCsv<Sep>
source§impl<Sep: Separator> TryFromValues for FlatCsv<Sep>
impl<Sep: Separator> TryFromValues for FlatCsv<Sep>
source§fn try_from_values<'i, I>(values: &mut I) -> Result<Self, Error>where
I: Iterator<Item = &'i HeaderValue>,
fn try_from_values<'i, I>(values: &mut I) -> Result<Self, Error>where
I: Iterator<Item = &'i HeaderValue>,
Try to convert from the values into an instance of
Self
.impl<Sep: Eq> Eq for FlatCsv<Sep>
impl<Sep> StructuralPartialEq for FlatCsv<Sep>
Auto Trait Implementations§
impl<Sep = Comma> !Freeze for FlatCsv<Sep>
impl<Sep> RefUnwindSafe for FlatCsv<Sep>where
Sep: RefUnwindSafe,
impl<Sep> Send for FlatCsv<Sep>where
Sep: Send,
impl<Sep> Sync for FlatCsv<Sep>where
Sep: Sync,
impl<Sep> Unpin for FlatCsv<Sep>where
Sep: Unpin,
impl<Sep> UnwindSafe for FlatCsv<Sep>where
Sep: 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