Struct QueryResult
pub struct QueryResult<'a> {
pub root: Option<Cow<'a, str>>,
pub nodes: Vec<Node<'a>>,
}Expand description
Result of a com.inomotech.Lelum.Query call.
Fields§
§root: Option<Cow<'a, str>>The root path of the query result.
All paths in the result are relative to this root.
nodes: Vec<Node<'a>>The nodes returned by the query.
Currently this only includes data entry nodes. Branches are implied.
Trait Implementations§
§impl<'a> Debug for QueryResult<'a>
impl<'a> Debug for QueryResult<'a>
§impl<'de: 'a, 'a> Deserialize<'de> for QueryResult<'a>
impl<'de: 'a, 'a> Deserialize<'de> for QueryResult<'a>
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl<'a> Serialize for QueryResult<'a>
impl<'a> Serialize for QueryResult<'a>
Auto Trait Implementations§
impl<'a> Freeze for QueryResult<'a>
impl<'a> RefUnwindSafe for QueryResult<'a>
impl<'a> Send for QueryResult<'a>
impl<'a> Sync for QueryResult<'a>
impl<'a> Unpin for QueryResult<'a>
impl<'a> UnwindSafe for QueryResult<'a>
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