pub enum PostgresParams {
String(String),
Number(i64),
Bytes(Vec<u8>),
}
Variants§
Implementations§
Source§impl PostgresParams
impl PostgresParams
pub fn postgres_type(&self) -> &'static str
Auto Trait Implementations§
impl Freeze for PostgresParams
impl RefUnwindSafe for PostgresParams
impl Send for PostgresParams
impl Sync for PostgresParams
impl Unpin for PostgresParams
impl UnwindSafe for PostgresParams
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