pub struct ExtensionField<'a> {
pub field_type: u16,
pub value: &'a [u8],
}Expand description
One RFC 7822 extension field: type, and its value bytes (header excluded).
Fields§
§field_type: u16§value: &'a [u8]Trait Implementations§
Source§impl<'a> Clone for ExtensionField<'a>
impl<'a> Clone for ExtensionField<'a>
impl<'a> Copy for ExtensionField<'a>
Source§impl<'a> Debug for ExtensionField<'a>
impl<'a> Debug for ExtensionField<'a>
impl<'a> Eq for ExtensionField<'a>
Source§impl<'a> PartialEq for ExtensionField<'a>
impl<'a> PartialEq for ExtensionField<'a>
impl<'a> StructuralPartialEq for ExtensionField<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExtensionField<'a>
impl<'a> RefUnwindSafe for ExtensionField<'a>
impl<'a> Send for ExtensionField<'a>
impl<'a> Sync for ExtensionField<'a>
impl<'a> Unpin for ExtensionField<'a>
impl<'a> UnsafeUnpin for ExtensionField<'a>
impl<'a> UnwindSafe for ExtensionField<'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