Struct fire_postgres::row::Row
source · pub struct Row { /* private fields */ }
Implementations§
source§impl Row
impl Row
sourcepub fn deserialize<'a, T>(
&'a self
) -> Result<T, Box<dyn StdError + Sync + Send>>where
T: FromRow<'a>,
pub fn deserialize<'a, T>(
&'a self
) -> Result<T, Box<dyn StdError + Sync + Send>>where
T: FromRow<'a>,
Deserializes the row.
sourcepub fn deserialize_owned<T>(self) -> Result<T, Box<dyn StdError + Sync + Send>>where
T: FromRowOwned,
pub fn deserialize_owned<T>(self) -> Result<T, Box<dyn StdError + Sync + Send>>where
T: FromRowOwned,
Deserializes the row and consumes it.
todo or deserialize_into?
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Row
impl !RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl !UnwindSafe for Row
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