---
source: derive/src/tests/cases.rs
---
#[derive(Row)]
struct Sample<'a, T> {
a: i32,
b: &'a T,
}
/****** GENERATED ******/
#[automatically_derived]
impl<'a, T> clickhouse::Row for Sample<'a, T> {
const NAME: &'static str = stringify!(Sample);
const COLUMN_NAMES: &'static [&'static str] = &["a", "b"];
const COLUMN_COUNT: usize = <Self as clickhouse::Row>::COLUMN_NAMES.len();
const KIND: clickhouse::_priv::RowKind = clickhouse::_priv::RowKind::Struct;
type Value<'__v> = Sample<'__v, T>;
}