pub struct RegistrationPathArgs {
pub router_type: RouterType,
pub app_id: String,
}Expand description
Extracts and validates the router_type and app_id path arguments
Fields§
§router_type: RouterType§app_id: StringTrait Implementations§
Source§impl FromRequest for RegistrationPathArgs
impl FromRequest for RegistrationPathArgs
Source§type Future = Ready<Result<RegistrationPathArgs, <RegistrationPathArgs as FromRequest>::Error>>
type Future = Ready<Result<RegistrationPathArgs, <RegistrationPathArgs as FromRequest>::Error>>
Future that resolves to a
Self. Read moreSource§fn from_request(req: &HttpRequest, _: &mut Payload) -> Self::Future
fn from_request(req: &HttpRequest, _: &mut Payload) -> Self::Future
Create a
Self from request parts asynchronously.Auto Trait Implementations§
impl Freeze for RegistrationPathArgs
impl RefUnwindSafe for RegistrationPathArgs
impl Send for RegistrationPathArgs
impl Sync for RegistrationPathArgs
impl Unpin for RegistrationPathArgs
impl UnwindSafe for RegistrationPathArgs
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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> 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