pub struct AxumConfig {
pub auto_configure_routes: bool,
pub route_prefix: String,
pub enable_metrics: bool,
pub enable_health_check: bool,
}
Expand description
Axum integration configuration
Fields§
§auto_configure_routes: bool
Enable automatic route configuration
route_prefix: String
Base path for task queue routes
enable_metrics: bool
Enable metrics endpoint
enable_health_check: bool
Enable health check endpoint
Trait Implementations§
Source§impl Clone for AxumConfig
impl Clone for AxumConfig
Source§fn clone(&self) -> AxumConfig
fn clone(&self) -> AxumConfig
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 AxumConfig
impl Debug for AxumConfig
Source§impl Default for AxumConfig
impl Default for AxumConfig
Source§impl<'de> Deserialize<'de> for AxumConfig
impl<'de> Deserialize<'de> for AxumConfig
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
Auto Trait Implementations§
impl Freeze for AxumConfig
impl RefUnwindSafe for AxumConfig
impl Send for AxumConfig
impl Sync for AxumConfig
impl Unpin for AxumConfig
impl UnwindSafe for AxumConfig
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