pub enum IqFormat {
Primitive,
Json,
JsonPretty,
Size,
}Expand description
Format for the extracted value
Warning: this enum is expected to change. Prefer to use the public functions to extract values.
Variants§
Primitive
Exctract as Display, but only if the value is a “primitive”
Json
Extract as JSON
JsonPretty
Extract as JSON, pretty
Size
Extract the size of the array/map/struct/tupple/string at the end of the path
Trait Implementations§
impl Eq for IqFormat
impl StructuralPartialEq for IqFormat
Auto Trait Implementations§
impl Freeze for IqFormat
impl RefUnwindSafe for IqFormat
impl Send for IqFormat
impl Sync for IqFormat
impl Unpin for IqFormat
impl UnwindSafe for IqFormat
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