Trait matrix_sdk::debug::DebugStructExt

source ·
pub trait DebugStructExt<'a, 'b> {
    // Required method
    fn maybe_field<T>(
        &mut self,
        name: &str,
        value: &Option<T>,
    ) -> &mut DebugStruct<'a, 'b>
       where T: Debug;
}

Required Methods§

source

fn maybe_field<T>( &mut self, name: &str, value: &Option<T>, ) -> &mut DebugStruct<'a, 'b>
where T: Debug,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, 'b> DebugStructExt<'a, 'b> for DebugStruct<'a, 'b>

source§

fn maybe_field<T>( &mut self, name: &str, value: &Option<T>, ) -> &mut DebugStruct<'a, 'b>
where T: Debug,

Implementors§