pub struct Test<S> {
pub filter: S,
pub input: S,
pub output: Vec<S>,
}Expand description
A single jq unit test.
Fields§
§filter: Sjq filter
input: Sinput value in JSON format
output: Vec<S>output values in JSON format
Auto Trait Implementations§
impl<S> Freeze for Test<S>where
S: Freeze,
impl<S> RefUnwindSafe for Test<S>where
S: RefUnwindSafe,
impl<S> Send for Test<S>where
S: Send,
impl<S> Sync for Test<S>where
S: Sync,
impl<S> Unpin for Test<S>where
S: Unpin,
impl<S> UnwindSafe for Test<S>where
S: UnwindSafe,
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