Enum wick_config::v1::HttpRouter
source · pub enum HttpRouter {
RawRouter(RawRouter),
RestRouter(RestRouter),
StaticRouter(StaticRouter),
ProxyRouter(ProxyRouter),
}Expand description
The types of routers that can be configured on the HttpTrigger.
Variants§
RawRouter(RawRouter)
A variant representing a RawRouter type.
RestRouter(RestRouter)
A variant representing a RestRouter type.
StaticRouter(StaticRouter)
A variant representing a StaticRouter type.
ProxyRouter(ProxyRouter)
A variant representing a ProxyRouter type.
Trait Implementations§
source§impl Clone for HttpRouter
impl Clone for HttpRouter
source§fn clone(&self) -> HttpRouter
fn clone(&self) -> HttpRouter
Returns a copy 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 HttpRouter
impl Debug for HttpRouter
source§impl<'de> Deserialize<'de> for HttpRouter
impl<'de> Deserialize<'de> for HttpRouter
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<HttpRouter> for HttpRouter
impl PartialEq<HttpRouter> for HttpRouter
source§fn eq(&self, other: &HttpRouter) -> bool
fn eq(&self, other: &HttpRouter) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for HttpRouter
impl Serialize for HttpRouter
source§impl TryFrom<HttpRouter> for HttpRouterConfig
impl TryFrom<HttpRouter> for HttpRouterConfig
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<HttpRouterConfig> for HttpRouter
impl TryFrom<HttpRouterConfig> for HttpRouter
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for HttpRouter
Auto Trait Implementations§
impl RefUnwindSafe for HttpRouter
impl Send for HttpRouter
impl Sync for HttpRouter
impl Unpin for HttpRouter
impl UnwindSafe for HttpRouter
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