pub struct ServerCxInner {
pub params: PathParamsVec,
}Available on crate feature
server only.Expand description
Inner details of ServerContext
Fields§
§params: PathParamsVecPath params from Uri
See Router::route and PathParamsVec, PathParamsMap or PathParams for more
details.
Implementations§
Source§impl ServerCxInner
impl ServerCxInner
Sourcepub fn params(&self) -> &PathParamsVec
pub fn params(&self) -> &PathParamsVec
Get a reference to PathParamsVec
Sourcepub fn params_mut(&mut self) -> &mut PathParamsVec
pub fn params_mut(&mut self) -> &mut PathParamsVec
Get a mutable reference to PathParamsVec
Trait Implementations§
Source§impl Clone for ServerCxInner
impl Clone for ServerCxInner
Source§fn clone(&self) -> ServerCxInner
fn clone(&self) -> ServerCxInner
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 ServerCxInner
impl Debug for ServerCxInner
Source§impl Default for ServerCxInner
impl Default for ServerCxInner
Source§fn default() -> ServerCxInner
fn default() -> ServerCxInner
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerCxInner
impl RefUnwindSafe for ServerCxInner
impl Send for ServerCxInner
impl Sync for ServerCxInner
impl Unpin for ServerCxInner
impl UnwindSafe for ServerCxInner
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