pub struct AsyncpgGenerator;Trait Implementations§
Source§impl DriverGenerator for AsyncpgGenerator
impl DriverGenerator for AsyncpgGenerator
Source§impl PyDriverShape for AsyncpgGenerator
impl PyDriverShape for AsyncpgGenerator
Source§fn driver_import(&self) -> &'static str
fn driver_import(&self) -> &'static str
Driver-specific import line appended to the common module header.
fn connection_type(&self) -> &'static str
fn is_async(&self) -> bool
fn rewrite_sql(&self, query: &QueryDef) -> String
fn build_params_arg(&self, query: &QueryDef) -> String
fn render_body(&self, ctx: &PyBodyCtx<'_>) -> (String, String)
Source§impl PyTypeMap for AsyncpgGenerator
impl PyTypeMap for AsyncpgGenerator
fn string_ty(&self) -> &'static str
fn int_ty(&self) -> &'static str
fn float_ty(&self) -> &'static str
fn boolean_ty(&self) -> &'static str
fn date_ty(&self) -> &'static str
fn json_ty(&self) -> &'static str
fn binary_ty(&self) -> &'static str
fn unknown_ty(&self) -> &'static str
Auto Trait Implementations§
impl Freeze for AsyncpgGenerator
impl RefUnwindSafe for AsyncpgGenerator
impl Send for AsyncpgGenerator
impl Sync for AsyncpgGenerator
impl Unpin for AsyncpgGenerator
impl UnsafeUnpin for AsyncpgGenerator
impl UnwindSafe for AsyncpgGenerator
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