Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit44202ad

Browse files
authored
Merge pull request#967 from xxchan/xxchan/missing-guan
derive Debug for SimpleQueryMessage
2 parentscb82025 +be90d0e commit44202ad

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

‎postgres-protocol/src/message/backend.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,7 @@ impl CopyOutResponseBody {
524524
}
525525
}
526526

527+
#[derive(Debug)]
527528
pubstructDataRowBody{
528529
storage:Bytes,
529530
len:u16,

‎tokio-postgres/src/lib.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ pub enum AsyncMessage {
239239
}
240240

241241
/// Message returned by the `SimpleQuery` stream.
242+
#[derive(Debug)]
242243
#[non_exhaustive]
243244
pubenumSimpleQueryMessage{
244245
/// A row of data.

‎tokio-postgres/src/row.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ impl AsName for SimpleColumn {
196196
}
197197

198198
/// A row of data returned from the database by a simple query.
199+
#[derive(Debug)]
199200
pubstructSimpleQueryRow{
200201
columns:Arc<[SimpleColumn]>,
201202
body:DataRowBody,

‎tokio-postgres/src/simple_query.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use std::sync::Arc;
1515
use std::task::{Context,Poll};
1616

1717
/// Information about a column of a single query row.
18+
#[derive(Debug)]
1819
pubstructSimpleColumn{
1920
name:String,
2021
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp