1 2 3 4 5 6 7 8 9 10
use yang_base::definition::Str; yang_base::params! { InvalidInput { #[param(source = cookie)] token: Str::new().require(true), } } fn main() {}