Skip to main content

select

Function select 

Source
pub fn select<'a>(root: &'a Node, path: &str) -> Result<&'a Field, Diag>
Expand description

Select a protobuf field by path.

Segments are field numbers separated by .; N[i] picks the i-th occurrence of a repeated field (default 0). Text layers (hex/base64/PEM, including base64 inside string fields) are descended automatically, and a LEN field is entered through its best-ranked message interpretation.