pub struct ActixWebParser;
Implementations§
Source§impl ActixWebParser
impl ActixWebParser
pub fn new() -> Self
pub fn create_route_info( &self, method: &str, path: &str, handler_info: HandlerInfo, ) -> RouteInfo
pub fn register_route( &self, method: &str, path: &str, summary: Option<&str>, description: Option<&str>, parameters: Option<Vec<Parameter>>, request_body: Option<RequestBody>, responses: Option<HashMap<String, Response>>, ) -> RouteInfo
pub fn extract_actix_path_params(&self, path: &str) -> Vec<Parameter>
pub fn extract_actix_query_params<T>(&self) -> Vec<Parameter>where
T: Deserialize<'static>,
Trait Implementations§
Source§impl Default for ActixWebParser
impl Default for ActixWebParser
Source§impl FrameworkParser for ActixWebParser
impl FrameworkParser for ActixWebParser
fn parse_routes(&self, _app: &dyn Any) -> Vec<RouteInfo>
fn extract_handler_info(&self, _handler: &dyn Any) -> HandlerInfo
Auto Trait Implementations§
impl Freeze for ActixWebParser
impl RefUnwindSafe for ActixWebParser
impl Send for ActixWebParser
impl Sync for ActixWebParser
impl Unpin for ActixWebParser
impl UnwindSafe for ActixWebParser
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