{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreid7frq67widxkaepdar4kkydwc7wgysepryon2kpnuwkdaah4qr7e",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mgfin63yi242"
},
"path": "/t/should-we-have-set-static-field-for-trait/24058#post_2",
"publishedAt": "2026-03-06T07:43:27.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "~~Wouldn't functions work well for this usecase?~~\n\n~~`fn get_field(&self)->FieldType` would also allow any implementors you want.~~\n\n~~Or do you wish for inheritance?~~\n\nEdit: I don't think the author wishes to discuss this further. He said nothing should be changed.",
"title": "Should we have set static field for Trait?"
}