Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ pub struct QueryParams {
#[substruct_attr(not(QueryParams), serde(rename = "before_ts"))]
pub after: Option<SystemTime>,

// 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<usize>,
}
Expand All @@ -87,4 +91,5 @@ used by all of the child structs.


# See Also
- The [subenum](https://crates.io/crates/subenum)
- The [subenum](https://crates.io/crates/subenum) crate offers the same thing
for enums.
Loading