[PR #1693] [MERGED] RequestInfo derives Clone trait. #2520

Closed
opened 2026-03-16 09:50:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/1693
Author: @humb1t
Created: 4/13/2022
Status: Merged
Merged: 4/13/2022
Merged by: @bluejekyll

Base: mainHead: request-info-clone


📝 Commits (1)

  • c8954c6 RequestInfo derives Clone trait.

📊 Changes

1 file changed (+25 additions, -0 deletions)

View changed files

📝 crates/server/src/server/request_handler.rs (+25 -0)

📄 Description

In some cases I need to pass RequestInfo into another function call, but have only reference.
Clone impl would provide an ability to receive an owned copy of object.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/1693 **Author:** [@humb1t](https://github.com/humb1t) **Created:** 4/13/2022 **Status:** ✅ Merged **Merged:** 4/13/2022 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `main` ← **Head:** `request-info-clone` --- ### 📝 Commits (1) - [`c8954c6`](https://github.com/hickory-dns/hickory-dns/commit/c8954c6ec30ef3b7a2d5fb036196965a2e900190) RequestInfo derives Clone trait. ### 📊 Changes **1 file changed** (+25 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/server/src/server/request_handler.rs` (+25 -0) </details> ### 📄 Description In some cases I need to pass `RequestInfo` into another function call, but have only reference. Clone impl would provide an ability to receive an owned copy of object. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 09:50:57 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#2520
No description provided.