pub struct ContentType<'a> {
pub ty: &'a str,
pub subtype: &'a str,
pub params: BodyParams<'a>,
}
Fields§
§ty: &'a str
§subtype: &'a str
§params: BodyParams<'a>
Trait Implementations§
Source§impl<'a> Debug for ContentType<'a>
impl<'a> Debug for ContentType<'a>
Source§impl<'a> PartialEq for ContentType<'a>
impl<'a> PartialEq for ContentType<'a>
impl<'a> Eq for ContentType<'a>
impl<'a> StructuralPartialEq for ContentType<'a>
Auto Trait Implementations§
impl<'a> Freeze for ContentType<'a>
impl<'a> RefUnwindSafe for ContentType<'a>
impl<'a> Send for ContentType<'a>
impl<'a> Sync for ContentType<'a>
impl<'a> Unpin for ContentType<'a>
impl<'a> UnwindSafe for ContentType<'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