From 5997550c1b7ca8bf3a063fc32f03a62d837004f6 Mon Sep 17 00:00:00 2001 From: Ron Mordechai Date: Fri, 22 Sep 2023 11:10:38 +0300 Subject: [PATCH] Allow cloning JsonPathInst (#45) Co-authored-by: Ron Mordechai --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 0eb4dca..f86c28d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -165,6 +165,7 @@ pub trait JsonPathQuery { fn path(self, query: &str) -> Result; } +#[derive(Clone)] pub struct JsonPathInst { inner: JsonPath, }