Struct mail_headers::header_components::RawUnstructured
source · pub struct RawUnstructured { /* private fields */ }Expand description
A unstructured header field implementation which validates the given input but does not encode any utf8 even if it would have been necessary (it will error in that case) nor does it support breaking longer lines in multiple ones (no FWS marked for the encoder)
Implementations
Trait Implementations
sourceimpl AsRef<str> for RawUnstructured
impl AsRef<str> for RawUnstructured
sourceimpl Clone for RawUnstructured
impl Clone for RawUnstructured
sourcefn clone(&self) -> RawUnstructured
fn clone(&self) -> RawUnstructured
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RawUnstructured
impl Debug for RawUnstructured
sourceimpl EncodableInHeader for RawUnstructured
impl EncodableInHeader for RawUnstructured
fn encode(&self, handle: &mut EncodingWriter<'_>) -> Result<(), EncodingError>
fn boxed_clone(&self) -> Box<dyn EncodableInHeader>
sourceimpl<T> From<T> for RawUnstructuredwhere
Input: From<T>,
impl<T> From<T> for RawUnstructuredwhere
Input: From<T>,
sourceimpl Hash for RawUnstructured
impl Hash for RawUnstructured
sourceimpl<T> HeaderTryFrom<T> for RawUnstructuredwhere
T: HeaderTryInto<Input>,
impl<T> HeaderTryFrom<T> for RawUnstructuredwhere
T: HeaderTryInto<Input>,
fn try_from(val: T) -> Result<Self, ComponentCreationError>
sourceimpl Into<Input> for RawUnstructured
impl Into<Input> for RawUnstructured
sourceimpl Into<String> for RawUnstructured
impl Into<String> for RawUnstructured
sourceimpl PartialEq<RawUnstructured> for RawUnstructured
impl PartialEq<RawUnstructured> for RawUnstructured
sourcefn eq(&self, other: &RawUnstructured) -> bool
fn eq(&self, other: &RawUnstructured) -> bool
impl Eq for RawUnstructured
impl StructuralEq for RawUnstructured
impl StructuralPartialEq for RawUnstructured
Auto Trait Implementations
impl RefUnwindSafe for RawUnstructured
impl Send for RawUnstructured
impl Sync for RawUnstructured
impl Unpin for RawUnstructured
impl UnwindSafe for RawUnstructured
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