pub struct OwnedField { /* private fields */ }Expand description
One field, owned, with its position in the original section.
Implementations§
Source§impl OwnedField
impl OwnedField
Sourcepub fn as_field_ref(&self) -> FieldRef<'_>
pub fn as_field_ref(&self) -> FieldRef<'_>
The field, borrowed, so that another section can interpret it.
Trait Implementations§
Source§impl Clone for OwnedField
impl Clone for OwnedField
Source§impl Debug for OwnedField
Shows the value’s length rather than its bytes, since values such as Authorization and Cookie carry credentials that must not reach logs.
impl Debug for OwnedField
Shows the value’s length rather than its bytes, since values such as Authorization and Cookie carry credentials that must not reach logs.
impl Eq for OwnedField
Source§impl<'a> From<FieldRef<'a>> for OwnedField
impl<'a> From<FieldRef<'a>> for OwnedField
Source§impl Hash for OwnedField
impl Hash for OwnedField
impl<'a, S> IntoField<'a, S> for &'a OwnedField
Source§impl PartialEq for OwnedField
impl PartialEq for OwnedField
impl StructuralPartialEq for OwnedField
Auto Trait Implementations§
impl Forget for OwnedField
impl Freeze for OwnedField
impl RefUnwindSafe for OwnedField
impl Send for OwnedField
impl Sync for OwnedField
impl Unpin for OwnedField
impl UnsafeUnpin for OwnedField
impl UnwindSafe for OwnedField
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