Skip to main content

substrate_data/schema/reader/
found.rs

1//! [`Found`]: something found while reading, with where.
2
3use crate::model::value::Path;
4
5/// Where a reference was found.
6#[derive(Debug, Clone, PartialEq, Eq)]
7pub struct Found<T> {
8    /// What was found.
9    pub value: T,
10    /// Where.
11    pub path: Path,
12}