pub struct HeaderField<'a> {
pub value: &'a [u8],
pub parameters: &'a [u8],
}
Fields§
§value: &'a [u8]
§parameters: &'a [u8]
Implementations§
Source§impl HeaderField<'_>
impl HeaderField<'_>
pub fn get_parameter_iterator(&self) -> ParameterParser<'_> ⓘ
Trait Implementations§
Source§impl<'a> AsCSeq<'a> for HeaderField<'a>
impl<'a> AsCSeq<'a> for HeaderField<'a>
Source§impl<'a> AsContentType<'a> for HeaderField<'a>
impl<'a> AsContentType<'a> for HeaderField<'a>
type Target = ContentType<'a>
fn as_content_type(&'a self) -> Option<ContentType<'_>>
Source§impl<'a> AsFromTo<'a> for HeaderField<'a>
impl<'a> AsFromTo<'a> for HeaderField<'a>
Source§impl<'a> AsSessionExpires<'a> for HeaderField<'a>
impl<'a> AsSessionExpires<'a> for HeaderField<'a>
type Target = SessionExpires<'a>
fn as_session_expires(&'a self) -> Option<SessionExpires<'_>>
Source§impl<'a> AsSubscriptionState<'a> for HeaderField<'a>
impl<'a> AsSubscriptionState<'a> for HeaderField<'a>
type Target = SubscriptionState<'a>
fn as_subscription_state(&'a self) -> Option<SubscriptionState<'_>>
Auto Trait Implementations§
impl<'a> Freeze for HeaderField<'a>
impl<'a> RefUnwindSafe for HeaderField<'a>
impl<'a> Send for HeaderField<'a>
impl<'a> Sync for HeaderField<'a>
impl<'a> Unpin for HeaderField<'a>
impl<'a> UnwindSafe for HeaderField<'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