pub struct Field<'a> {
pub name: &'a [u8],
pub value: &'a [u8],
}Expand description
One field line as it arrived: the name as written (case preserved) and the value with surrounding whitespace removed.
Fields§
§name: &'a [u8]The field name, a token.
value: &'a [u8]The field value, trimmed.
Trait Implementations§
impl<'a> Copy for Field<'a>
impl<'a> Eq for Field<'a>
impl<'a> StructuralPartialEq for Field<'a>
Auto Trait Implementations§
impl<'a> Forget for Field<'a>
impl<'a> Freeze for Field<'a>
impl<'a> Move for Field<'a>
impl<'a> RefUnwindSafe for Field<'a>
impl<'a> Send for Field<'a>
impl<'a> Sync for Field<'a>
impl<'a> Unpin for Field<'a>
impl<'a> UnsafeUnpin for Field<'a>
impl<'a> UnwindSafe for Field<'a>
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