pub struct PsycopgGenerator;Trait Implementations§
Source§impl DriverGenerator for PsycopgGenerator
impl DriverGenerator for PsycopgGenerator
Source§impl PyDriverShape for PsycopgGenerator
impl PyDriverShape for PsycopgGenerator
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 PsycopgGenerator
impl PyTypeMap for PsycopgGenerator
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 PsycopgGenerator
impl RefUnwindSafe for PsycopgGenerator
impl Send for PsycopgGenerator
impl Sync for PsycopgGenerator
impl Unpin for PsycopgGenerator
impl UnsafeUnpin for PsycopgGenerator
impl UnwindSafe for PsycopgGenerator
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