pub struct RuleHandler {
pub config: Option<Option<Value>>,
pub handler: Option<String>,
}Fields§
§config: Option<Option<Value>>Config contains the configuration for the handler. Please read the user guide for a complete list of each handler’s available settings.
handler: Option<String>Handler identifies the implementation which will be used to handle this specific request. Please read the user guide for a complete list of available handlers.
Implementations§
Source§impl RuleHandler
impl RuleHandler
pub fn new() -> RuleHandler
Trait Implementations§
Source§impl Clone for RuleHandler
impl Clone for RuleHandler
Source§fn clone(&self) -> RuleHandler
fn clone(&self) -> RuleHandler
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 RuleHandler
impl Debug for RuleHandler
Source§impl Default for RuleHandler
impl Default for RuleHandler
Source§fn default() -> RuleHandler
fn default() -> RuleHandler
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuleHandler
impl<'de> Deserialize<'de> for RuleHandler
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 for RuleHandler
impl PartialEq for RuleHandler
Source§impl Serialize for RuleHandler
impl Serialize for RuleHandler
impl StructuralPartialEq for RuleHandler
Auto Trait Implementations§
impl Freeze for RuleHandler
impl RefUnwindSafe for RuleHandler
impl Send for RuleHandler
impl Sync for RuleHandler
impl Unpin for RuleHandler
impl UnwindSafe for RuleHandler
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