pub struct ActixConfig {
pub auto_configure_routes: bool,
pub route_prefix: String,
pub enable_metrics: bool,
pub enable_health_check: bool,
}
Expand description
Actix Web 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 ActixConfig
impl Clone for ActixConfig
Source§fn clone(&self) -> ActixConfig
fn clone(&self) -> ActixConfig
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 ActixConfig
impl Debug for ActixConfig
Source§impl Default for ActixConfig
impl Default for ActixConfig
Source§impl<'de> Deserialize<'de> for ActixConfig
impl<'de> Deserialize<'de> for ActixConfig
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 ActixConfig
impl RefUnwindSafe for ActixConfig
impl Send for ActixConfig
impl Sync for ActixConfig
impl Unpin for ActixConfig
impl UnwindSafe for ActixConfig
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