[−][src]Trait pgx::inoutfuncs::InOutFuncs
#[derive(Serialize, Deserialize, PostgresType)]
types may implement this trait if they prefer
a textual representation that isn't JSON
Required methods
pub fn input(input: &CStr) -> Self where
Self: Sized,
[src]
Self: Sized,
Given a string representation of Self
, parse it into Self
.
It is expected that malformed input will raise an error!()
or panic!()
pub fn output(&self, buffer: &mut StringInfo)
[src]
Convert Self
into text by writing to the supplied StringInfo
buffer