pub enum NaiveField<'a> {
Type(NaiveType<'a>),
TransferEncoding(Mechanism<'a>),
ID(MessageID<'a>),
Description(Unstructured<'a>),
}Variants§
Type(NaiveType<'a>)
TransferEncoding(Mechanism<'a>)
ID(MessageID<'a>)
Description(Unstructured<'a>)
Trait Implementations§
Source§impl<'a> Clone for NaiveField<'a>
impl<'a> Clone for NaiveField<'a>
Source§fn clone(&self) -> NaiveField<'a>
fn clone(&self) -> NaiveField<'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 moreSource§impl<'a> Debug for NaiveField<'a>
impl<'a> Debug for NaiveField<'a>
Source§impl<'a> IntoBoundedStatic for NaiveField<'a>
impl<'a> IntoBoundedStatic for NaiveField<'a>
Source§type Static = NaiveField<'static>
type Static = NaiveField<'static>
The target type is bounded by the
'static lifetime.Source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T into an owned T such that T: 'static.Source§impl<'a> PartialEq for NaiveField<'a>
impl<'a> PartialEq for NaiveField<'a>
Source§fn eq(&self, other: &NaiveField<'a>) -> bool
fn eq(&self, other: &NaiveField<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for NaiveField<'a>
Source§impl<'a> ToBoundedStatic for NaiveField<'a>
impl<'a> ToBoundedStatic for NaiveField<'a>
Auto Trait Implementations§
impl<'a> Freeze for NaiveField<'a>
impl<'a> RefUnwindSafe for NaiveField<'a>
impl<'a> Send for NaiveField<'a>
impl<'a> Sync for NaiveField<'a>
impl<'a> Unpin for NaiveField<'a>
impl<'a> UnsafeUnpin for NaiveField<'a>
impl<'a> UnwindSafe for NaiveField<'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