pub struct ContentTypes<'a> {
pub defaults: Vec<DefaultContentType<'a>>,
pub overrides: Vec<OverrideContentType<'a>>,
}
Fields§
§defaults: Vec<DefaultContentType<'a>>
§overrides: Vec<OverrideContentType<'a>>
Trait Implementations§
Source§impl<'a> Clone for ContentTypes<'a>
impl<'a> Clone for ContentTypes<'a>
Source§fn clone(&self) -> ContentTypes<'a>
fn clone(&self) -> ContentTypes<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for ContentTypes<'a>
impl<'a> Debug for ContentTypes<'a>
Source§impl Default for ContentTypes<'static>
impl Default for ContentTypes<'static>
Source§fn default() -> ContentTypes<'static>
fn default() -> ContentTypes<'static>
Returns the “default value” for a type. Read more
Source§impl<'__input: 'a, 'a> XmlRead<'__input> for ContentTypes<'a>
impl<'__input: 'a, 'a> XmlRead<'__input> for ContentTypes<'a>
Auto Trait Implementations§
impl<'a> Freeze for ContentTypes<'a>
impl<'a> RefUnwindSafe for ContentTypes<'a>
impl<'a> Send for ContentTypes<'a>
impl<'a> Sync for ContentTypes<'a>
impl<'a> Unpin for ContentTypes<'a>
impl<'a> UnwindSafe for ContentTypes<'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