Struct dce_hyper::serializer::NotFound
source · pub struct NotFound<Dto> {
pub s: ResponseStatus<Dto>,
}Fields§
§s: ResponseStatus<Dto>Trait Implementations§
source§impl<Dto> From<ResponseStatus<Dto>> for NotFound<Dto>
impl<Dto> From<ResponseStatus<Dto>> for NotFound<Dto>
source§fn from(value: ResponseStatus<Dto>) -> Self
fn from(value: ResponseStatus<Dto>) -> Self
Converts to this type from the input type.
source§impl<Dto> TemplateOnce for NotFound<Dto>
impl<Dto> TemplateOnce for NotFound<Dto>
source§fn render_once(self) -> RenderResult
fn render_once(self) -> RenderResult
Render the template and return the rendering result as
RenderResult Read moresource§fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>
fn render_once_to(self, __sf_buf: &mut Buffer) -> Result<(), RenderError>
Render the template and append the result to
buf. Read moreimpl<Dto> Sealed for NotFound<Dto>
Auto Trait Implementations§
impl<Dto> RefUnwindSafe for NotFound<Dto>where
Dto: RefUnwindSafe,
impl<Dto> Send for NotFound<Dto>where
Dto: Send,
impl<Dto> Sync for NotFound<Dto>where
Dto: Sync,
impl<Dto> Unpin for NotFound<Dto>where
Dto: Unpin,
impl<Dto> UnwindSafe for NotFound<Dto>where
Dto: UnwindSafe,
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