pub struct SudoPage<'a, K, V>{
url: &'a str,
data: Option<Vec<(K, V)>>,
}Fields§
§url: &'a str§data: Option<Vec<(K, V)>>Implementations§
Trait Implementations§
Source§impl<'a, K, V> TemplateOnce for SudoPage<'a, K, V>
impl<'a, K, V> TemplateOnce for SudoPage<'a, K, V>
Source§fn render_once(self) -> RenderResult
fn render_once(self) -> RenderResult
Render the template and return the rendering result as
RenderResult Read moreimpl<'a, K, V> Sealed for SudoPage<'a, K, V>
Auto Trait Implementations§
impl<'a, K, V> Freeze for SudoPage<'a, K, V>
impl<'a, K, V> RefUnwindSafe for SudoPage<'a, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Send for SudoPage<'a, K, V>
impl<'a, K, V> Sync for SudoPage<'a, K, V>
impl<'a, K, V> Unpin for SudoPage<'a, K, V>
impl<'a, K, V> UnwindSafe for SudoPage<'a, K, V>where
K: UnwindSafe,
V: 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
§impl<T> Chain<T> for T
impl<T> Chain<T> for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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