pub struct Backend {
pub name: String,
pub config: HashMap<String, Option<String>>,
pub options: HashMap<String, Option<String>>,
pub acls: HashSet<Acl>,
pub servers: Vec<Server>,
}Expand description
Frontends specify whether to forward traffic here
using config::backends.
Fields§
§name: String§config: HashMap<String, Option<String>>§options: HashMap<String, Option<String>>§acls: HashSet<Acl>§servers: Vec<Server>Trait Implementations§
impl Eq for Backend
impl StructuralPartialEq for Backend
Auto Trait Implementations§
impl Freeze for Backend
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnwindSafe for Backend
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