pub struct BodyContentCommon<'a> {
pub ty: ContentType<'a>,
pub disposition: Option<ContentDisposition<'a>>,
pub language: Option<Vec<&'a str>>,
pub location: Option<&'a str>,
}
Fields§
§ty: ContentType<'a>
§disposition: Option<ContentDisposition<'a>>
§language: Option<Vec<&'a str>>
§location: Option<&'a str>
Trait Implementations§
Source§impl<'a> Debug for BodyContentCommon<'a>
impl<'a> Debug for BodyContentCommon<'a>
Source§impl<'a> PartialEq for BodyContentCommon<'a>
impl<'a> PartialEq for BodyContentCommon<'a>
impl<'a> Eq for BodyContentCommon<'a>
impl<'a> StructuralPartialEq for BodyContentCommon<'a>
Auto Trait Implementations§
impl<'a> Freeze for BodyContentCommon<'a>
impl<'a> RefUnwindSafe for BodyContentCommon<'a>
impl<'a> Send for BodyContentCommon<'a>
impl<'a> Sync for BodyContentCommon<'a>
impl<'a> Unpin for BodyContentCommon<'a>
impl<'a> UnwindSafe for BodyContentCommon<'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