parse_result::ParseResult is returned from crate::query::parse which is a public method but the result struct is private. This compiles and runs fine typically, but it's impossible to pass the output of parse to other functions since we can't import the private struct and declare it as an input variable.
parse_result::ParseResult
is returned fromcrate::query::parse
which is a public method but the result struct is private. This compiles and runs fine typically, but it's impossible to pass the output ofparse
to other functions since we can't import the private struct and declare it as an input variable.