#[non_exhaustive]pub enum Extractor {
Axum,
ActixWeb,
}Expand description
An HTTP framework to generate a validated-body extractor for
(Config::extractors).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Axum
axum: http::axum::ValidatedJson<T>. The consuming crate needs
axum and serde_path_to_error.
ActixWeb
actix-web: http::actix_web::ValidatedJson<T>. The consuming crate
needs actix-web.
Implementations§
Trait Implementations§
impl Copy for Extractor
impl Eq for Extractor
impl StructuralPartialEq for Extractor
Auto Trait Implementations§
impl Freeze for Extractor
impl RefUnwindSafe for Extractor
impl Send for Extractor
impl Sync for Extractor
impl Unpin for Extractor
impl UnsafeUnpin for Extractor
impl UnwindSafe for Extractor
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