Trait chewdata::helper::value::Depth

source ·
pub trait Depth {
    // Required method
    fn depth(&self) -> usize;
}
Expand description

Trait used to have the depth of a Json Value.

Required Methods§

source

fn depth(&self) -> usize

Method use to get the depth of a Json Value.

Implementations on Foreign Types§

source§

impl Depth for Value

source§

fn depth(&self) -> usize

Implementors§