Trait matrix_sdk_common::debug::DebugStructExt

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

Required Methods§

source

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

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: Debug>( &mut self, name: &str, value: &Option<T>, ) -> &mut DebugStruct<'a, 'b>

Implementors§