pub struct Media {
pub name: Cow<'static, str>,
pub content_type: Cow<'static, str>,
pub content_length: Option<u64>,
}Fields§
§name: Cow<'static, str>§content_type: Cow<'static, str>§content_length: Option<u64>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Media
impl Send for Media
impl Sync for Media
impl Unpin for Media
impl UnwindSafe for Media
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