Trait Flattenable

Source
pub trait Flattenable {
    // Required method
    fn has_field(f: &str) -> bool;
}
Expand description

Types that can be used with Flatten

Usually, derived with the Flattenable derive-deftly macro.

Required Methods§

Source

fn has_field(f: &str) -> bool

Does this type have a field named s ?

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, U> Flattenable for Flatten<T, U>
where T: Flattenable, U: Flattenable,

Flatten may be nested

impl Flattenable for ProxyConfigBuilder

impl Flattenable for ConfigBuilder