pub struct PgResult {
pub(crate) res: *mut PGresult,
}Fields§
§res: *mut PGresultImplementations§
Source§impl PgResult
impl PgResult
pub fn status(&self) -> ExecStatusType
pub fn cmd_status(&mut self) -> String
pub fn error_message(&self) -> String
pub fn error_field(&self, field_code: u8) -> Option<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PgResult
impl RefUnwindSafe for PgResult
impl !Send for PgResult
impl !Sync for PgResult
impl Unpin for PgResult
impl UnwindSafe for PgResult
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