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.
Trait Implementations§
Source§impl Clone for HumusFormatFamily
impl Clone for HumusFormatFamily
Source§fn clone(&self) -> HumusFormatFamily
fn clone(&self) -> HumusFormatFamily
Returns a duplicate 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 Debug for HumusFormatFamily
impl Debug for HumusFormatFamily
impl Copy for HumusFormatFamily
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