apimock-routing 5.1.1

Routing model for apimock: rule sets, request matching, and read-only views for GUI tooling.
Documentation
use serde::Deserialize;

#[derive(Clone, Deserialize, Debug)]
pub struct Guard {
    // todo: some fields to define condition affecting a single rule set wholly
}

impl Guard {
    /// validate
    pub fn validate(&self) -> bool {
        true
    }
}

impl std::fmt::Display for Guard {
    fn fmt(&self, _f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        Ok(())
    }
}