fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
        writeln!(f, "Measurement: {}", self.name)?;
        writeln!(f, "\nTag Sets:")?;
        for (tagset, field_key_blocks) in &self.tag_set_fields_blocks {
            write!(f, "\t")?;
            for (key, value) in tagset {
                write!(f, "{}={} ", key, value)?;
            }

            writeln!(f, "\n\tField Keys:")?;
            for (field_key, blocks) in field_key_blocks {
                writeln!(f, "\t{}", field_key)?;
                for block in blocks {
                    writeln!(
                        f,
                        "\t\tBlock time-range: ({}, {}), Offset: {}, Size: {}",
                        block.min_time, block.max_time, block.offset, block.size
                    )?;
                }
            }
            writeln!(f)?;
        }
        Ok(())
    }
// This trait requires `fmt` with this exact signature.
This trait requires `fmt` with this exact signature.
This trait requires ` fmt ` with this exact signature .
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
        writeln!(f, "Measurement: {}", self.name)?;
        writeln!(f, "\nTag Sets:")?;
        for (tagset, field_key_blocks) in &self.tag_set_fields_blocks {
            write!(f, "\t")?;
            for (key, value) in tagset {
                write!(f, "{}={} ", key, value)?;
            }
            writeln!(f, "\n\tField Keys:")?;
            for (field_key, blocks) in field_key_blocks {
                writeln!(f, "\t{}", field_key)?;
                for block in blocks {
                    writeln!(
                        f,
                        "\t\tBlock time-range: ({}, {}), Offset: {}, Size: {}",
                        block.min_time, block.max_time, block.offset, block.size
                    )?;
                }
            }
            writeln!(f)?;
        }
        Ok(())
    }
fn fmt ( & self , f : & mut Formatter < ' _ > ) -> std :: fmt :: Result { writeln ! ( f " " self name ) ? ; writeln ! ( f " \n " ) ? ; for ( tagset , field_key_blocks ) in & self . tag_set_fields_blocks { write ! ( f " \t " ) ? ; for ( key , value ) in tagset { write ! ( f " " key value ) ? ; } writeln ! ( f " \n \t " ) ? ; for ( field_key , blocks ) in field_key_blocks { writeln ! ( f " \t " field_key ) ? ; for block in blocks { writeln ! ( f " \t \t " block min_time block max_time block offset block size ) ? ; } } writeln ! ( f ) ? ; } Ok ( ( ) ) }
This trait requires `fmt` with this exact signature.
This trait requires ` fmt ` with this exact signature .
&self
f
&mut Formatter<'_>
&self
f
&mut Formatter<'_>