diff --git a/sqlx-postgres/src/arguments.rs b/sqlx-postgres/src/arguments.rs index bc7e861c52..6312f9c6d1 100644 --- a/sqlx-postgres/src/arguments.rs +++ b/sqlx-postgres/src/arguments.rs @@ -22,7 +22,7 @@ use sqlx_core::error::BoxDynError; // that has a patch, we then apply the patch which should write to &mut Vec, // backtrack and update the prefixed-len, then write until the next patch offset -#[derive(Default)] +#[derive(Default, Debug, Clone)] pub struct PgArgumentBuffer { buffer: Vec, @@ -59,7 +59,7 @@ struct Patch { } /// Implementation of [`Arguments`] for PostgreSQL. -#[derive(Default)] +#[derive(Default, Debug, Clone)] pub struct PgArguments { // Types of each bind parameter pub(crate) types: Vec,