---
source: metrique-macro/src/lib.rs
expression: parsed_file
---
struct RequestValue(u32, u32);
#[doc(hidden)]
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)]
<u32 as metrique::CloseValue>::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 {
1: metrique::CloseValue::close(&self.1),
}
}
}
impl metrique::CloseValue for RequestValue {
type Closed = RequestValueValue;
fn close(self) -> Self::Closed {
<&Self>::close(&self)
}
}