pub enum HumusFormatFamily {
Template,
API,
}Available on crate feature
axum-view only.Expand description
Defines how the response should be rendered.
Variants§
Template
When rendering the templating engine will be invoked.
API
When rendering the View is asked to generate an API response.
Auto Trait Implementations§
impl Freeze for HumusFormatFamily
impl RefUnwindSafe for HumusFormatFamily
impl Send for HumusFormatFamily
impl Sync for HumusFormatFamily
impl Unpin for HumusFormatFamily
impl UnwindSafe for HumusFormatFamily
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