Function pgx::name_data_to_str
source · pub fn name_data_to_str(name_data: &nameData) -> &str
Expand description
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