[][src]Function pgx::name_data_to_str

pub fn name_data_to_str(name_data: &nameData) -> &str

Converts a pg_sys::NameData struct into a &str.

This is a zero-copy operation and the returned &str is tied to the lifetime of the provided pg_sys::NameData