pub struct StructuredField<'a> {
pub name: &'a [u8],
pub value: &'a [u8],
}Fields§
§name: &'a [u8]Field name without the = separator.
value: &'a [u8]Field value bytes. Values may contain NUL bytes and = bytes.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for StructuredField<'a>
impl<'a> Clone for StructuredField<'a>
Source§fn clone(&self) -> StructuredField<'a>
fn clone(&self) -> StructuredField<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for StructuredField<'a>
Auto Trait Implementations§
impl<'a> Freeze for StructuredField<'a>
impl<'a> RefUnwindSafe for StructuredField<'a>
impl<'a> Send for StructuredField<'a>
impl<'a> Sync for StructuredField<'a>
impl<'a> Unpin for StructuredField<'a>
impl<'a> UnsafeUnpin for StructuredField<'a>
impl<'a> UnwindSafe for StructuredField<'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