Struct confql_data_resolver::DataPath [−][src]
pub struct DataPath<'a> { /* fields omitted */ }
Expand description
Represents a position in the data directory when resolving data.
Implementations
Takes self by value, and steps to the next logical data path (mutating self). Returns None if there’s nowhere to go.
Returns whether or not this instance is exhausted, i.e. when descend would be a no-op
Returns the current path file stem (i.e. basename without file extension)
Spawns a new instance with a given path suffix appended, and same data address.
Creates a new instance from a path and data address.
Creates a vector of new instances, one for each file/directory at the current path.
Tries to convert the current position to a serde_yaml::Value.