From 7f60a4db59076c554271c71c49cf10bf9f4b0f12 Mon Sep 17 00:00:00 2001 From: Sean Lynch <42618346+swlynch99@users.noreply.github.com> Date: Mon, 18 Aug 2025 13:18:51 -0700 Subject: [PATCH] Update README --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f4c1e33..e0c92a9 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,10 @@ pub struct QueryParams { #[substruct_attr(not(QueryParams), serde(rename = "before_ts"))] pub after: Option, + // This field has a pub(crate) visibility on ThreadQueryParams + #[substruct(pub(crate) ThreadQueryParams)] + pub hidden: bool, + // Limit is only present on QueryParams. pub limit: Option, } @@ -87,4 +91,5 @@ used by all of the child structs. # See Also -- The [subenum](https://crates.io/crates/subenum) \ No newline at end of file +- The [subenum](https://crates.io/crates/subenum) crate offers the same thing + for enums. \ No newline at end of file