[][src]Function pgx::inoutfuncs::to_varlena_borrowed

pub fn to_varlena_borrowed<T: Serialize>(data: &T) -> Result<*const varlena>

Encode a Rust type containing at least one borrowed value that is serde::Serialize into a Postgres varlena pointer as JSON