pub struct SerMapPgRow(/* private fields */);
Expand description
SerMapPgRow::from(pg_row) will make your row serialize as a map. If you have multiple columns with the same name, the last one will win.
Trait Implementations§
Source§impl Deref for SerMapPgRow
impl Deref for SerMapPgRow
Source§impl DerefMut for SerMapPgRow
impl DerefMut for SerMapPgRow
Source§impl From<PgRow> for SerMapPgRow
impl From<PgRow> for SerMapPgRow
Source§impl Into<PgRow> for SerMapPgRow
impl Into<PgRow> for SerMapPgRow
Auto Trait Implementations§
impl !Freeze for SerMapPgRow
impl RefUnwindSafe for SerMapPgRow
impl Send for SerMapPgRow
impl Sync for SerMapPgRow
impl Unpin for SerMapPgRow
impl UnwindSafe for SerMapPgRow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more