{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiho4omh2nqdzwjmi37e5bczklniwzjng6clor3b6hktzu74lpsks4",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3miprpbnccv62"
},
"path": "/t/add-new-reserved-lifetime-owned/24129#post_3",
"publishedAt": "2026-04-04T08:54:45.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "True, but Cow is runtime solution. Each time you want to touch field in structure that is Cow you have to check whatever it is borrowed or owned. In my case I want to have functions that are generated once for specific case: one for some reference type like string slice and then another one for owned String. This way we don`t have branching or some vtable dispatch on each value access.",
"title": "Add new reserved lifetime: 'owned"
}