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

Commit84994da

Browse files
committed
Derive Clone for Row
1 parent98f5a11 commit84994da

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

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

527-
#[derive(Debug)]
527+
#[derive(Debug,Clone)]
528528
pubstructDataRowBody{
529529
storage:Bytes,
530530
len:u16,

‎tokio-postgres/src/row.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ where
9595
}
9696

9797
/// A row of data returned from the database by a query.
98+
#[derive(Clone)]
9899
pubstructRow{
99100
statement:Statement,
100101
body:DataRowBody,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp