pub struct ContentTypeLookup {
pub default_by_extension: HashMap<String, String>,
pub override_by_part_name: HashMap<String, String>,
}Expand description
Mirrors TypeScript ContentTypeLookup.
Fields§
§default_by_extension: HashMap<String, String>§override_by_part_name: HashMap<String, String>Trait Implementations§
Source§impl Clone for ContentTypeLookup
impl Clone for ContentTypeLookup
Source§impl Debug for ContentTypeLookup
impl Debug for ContentTypeLookup
Source§impl Default for ContentTypeLookup
impl Default for ContentTypeLookup
impl Eq for ContentTypeLookup
Source§impl PartialEq for ContentTypeLookup
impl PartialEq for ContentTypeLookup
impl StructuralPartialEq for ContentTypeLookup
Auto Trait Implementations§
impl Freeze for ContentTypeLookup
impl RefUnwindSafe for ContentTypeLookup
impl Send for ContentTypeLookup
impl Sync for ContentTypeLookup
impl Unpin for ContentTypeLookup
impl UnsafeUnpin for ContentTypeLookup
impl UnwindSafe for ContentTypeLookup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more