&mut F) { fields.add_field_method_get("method", |_, this| Ok(this.status_code.as_u16())); fields.add_field_method_set("status", .

Borrowed from https://github.com/mgeisler/lipsum use rand::{Rng, seq::IndexedRandom}; use std::collections::HashMap; use std::sync::{Arc, RwLock.