MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / to_sql

Method to_sql

lrwn/src/devaddr.rs:139–141  ·  view source on GitHub ↗
(&'b self, out: &mut serialize::Output<'b, '_, Pg>)

Source from the content-addressed store, hash-verified

137#[cfg(feature = "postgres")]
138impl serialize::ToSql<Text, Pg> for DevAddrPrefix {
139 fn to_sql<'b>(&'b self, out: &mut serialize::Output<'b, '_, Pg>) -> serialize::Result {
140 <String as serialize::ToSql<Text, Pg>>::to_sql(&self.to_string(), &mut out.reborrow())
141 }
142}
143
144#[cfg(feature = "sqlite")]

Callers

nothing calls this directly

Calls 3

to_stringMethod · 0.80
to_be_bytesMethod · 0.45
to_vecMethod · 0.45

Tested by

no test coverage detected