update http-ui

This commit is contained in:
Tamo
2021-11-04 15:52:22 +01:00
parent a58bc5bebb
commit 07a5ffb04c
2 changed files with 21 additions and 9 deletions

View File

@ -35,6 +35,12 @@ fn parse<T: FromStr>(tok: &Token) -> Result<T> {
}
}
impl<'a> From<Filter<'a>> for FilterCondition<'a> {
fn from(f: Filter<'a>) -> Self {
f.condition
}
}
impl<'a> Filter<'a> {
pub fn from_array<I, J>(array: I) -> Result<Option<Self>>
where