[PR #2146] [MERGED] add getter/setter methods to ClientSubnet #2837

Closed
opened 2026-03-16 11:10:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/2146
Author: @leshow
Created: 2/13/2024
Status: Merged
Merged: 2/14/2024
Merged by: @bluejekyll

Base: mainHead: ecs_methods


📝 Commits (1)

  • 53721dd add getter methods to ClientSubnet

📊 Changes

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

View changed files

📝 crates/proto/src/rr/rdata/opt.rs (+29 -0)

📄 Description

Because the struct fields are not pub there's no way to read or modify them after the struct is created


🔄 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/2146 **Author:** [@leshow](https://github.com/leshow) **Created:** 2/13/2024 **Status:** ✅ Merged **Merged:** 2/14/2024 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `main` ← **Head:** `ecs_methods` --- ### 📝 Commits (1) - [`53721dd`](https://github.com/hickory-dns/hickory-dns/commit/53721dd85ffa76231969c97954bbef683fad7661) add getter methods to ClientSubnet ### 📊 Changes **1 file changed** (+29 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/proto/src/rr/rdata/opt.rs` (+29 -0) </details> ### 📄 Description Because the struct fields are not `pub` there's no way to read or modify them after the struct is created --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:10:54 +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#2837
No description provided.