pub struct ServerAppProps<CTX, REQ> { /* private fields */ }
Expand description
The Properties provided to a server app.
Implementations§
Source§impl<CTX, REQ> ServerAppProps<CTX, REQ>where
REQ: Request<Context = CTX>,
impl<CTX, REQ> ServerAppProps<CTX, REQ>where
REQ: Request<Context = CTX>,
Sourcepub fn queries<Q>(&self) -> ServerAppResult<Q>where
Q: Serialize + for<'de> Deserialize<'de>,
pub fn queries<Q>(&self) -> ServerAppResult<Q>where
Q: Serialize + for<'de> Deserialize<'de>,
Returns queries of current request.
Sourcepub fn raw_queries(&self) -> &str
pub fn raw_queries(&self) -> &str
Returns queries as a raw string.
Trait Implementations§
Source§impl<REQ, CTX> Clone for ServerAppProps<REQ, CTX>
impl<REQ, CTX> Clone for ServerAppProps<REQ, CTX>
Source§impl<REQ, CTX> PartialEq for ServerAppProps<REQ, CTX>
impl<REQ, CTX> PartialEq for ServerAppProps<REQ, CTX>
Auto Trait Implementations§
impl<CTX, REQ> Freeze for ServerAppProps<CTX, REQ>
impl<CTX, REQ> RefUnwindSafe for ServerAppProps<CTX, REQ>where
REQ: RefUnwindSafe,
CTX: RefUnwindSafe,
impl<CTX, REQ> !Send for ServerAppProps<CTX, REQ>
impl<CTX, REQ> !Sync for ServerAppProps<CTX, REQ>
impl<CTX, REQ> Unpin for ServerAppProps<CTX, REQ>where
CTX: Unpin,
impl<CTX, REQ> UnwindSafe for ServerAppProps<CTX, REQ>where
REQ: RefUnwindSafe,
CTX: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.