IronCoreLabs / IronCoreLabs/ironoxide

Make CreateOpts fields public

Open
#263 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
12
Forks
3
Avg merge
5h 4m
Merged PRs (30d)
3

Description

Right now you either enumerate all the fields on a struct, or use default to get only defaults. Neither of those is super useful, most likely you just want a few fields set at a time and everything else default. Making fields public would enable the normal pattern of

```
GroupCreateOpts {
name: Some("word up".to_string()),
..Default::default()
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Rust definition of GroupCreateOpts and the other CreateOpts structs referenced by this request. Read their current field visibility and Default implementations, then verify that callers can set selected fields with struct update syntax while retaining defaults. Run the relevant Rust test suite, if available, to confirm the public API compiles.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.