swindon 0.5.2

An HTTP edge (frontend) server with smart websockets support
1
2
3
4
5
6
7
8
9
10
11
12
13
use quire::validate::{Structure, Scalar};


#[derive(RustcDecodable, Debug, PartialEq, Eq)]
pub struct BaseRedirect {
    pub redirect_to_domain: String,
}


pub fn base_redirect<'x>() -> Structure<'x> {
    Structure::new()
    .member("redirect_to_domain", Scalar::new())
}