Skip to main content

rust_serde_root_identity

Function rust_serde_root_identity 

Source
pub fn rust_serde_root_identity(
    path: &str,
    scope: &[String],
    identities: &BTreeSet<String>,
) -> String
Expand description

The declaration identity a serde callback path names from module scope. helpers::parse inside mod config is config::helpers::parse; a leading self, super or crate fixes the starting module. A relative path that is not declared in scope is looked up in each enclosing module in turn, as a use super::... import usually brings it from there, and a bare name declared exactly once in the file resolves to that declaration. A path that names no declaration in this file keeps only its last segment.