redirectionio 3.1.0

Redirection IO Library to handle matching rule, redirect and filtering headers and body.
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

use crate::api::Peer;

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct PeerOverride {
    pub peer: Peer,
    pub rule_id: Option<String>,
    pub unit_id: Option<String>,
}