Registry / utility / property

property

JSON →
library0.3.3rscratesunverified

Generate several common methods for structs automatically.

# Cargo.toml [dependencies] property = "0.3.3"
INSTALL
IMPORT
SIG · PROPERTY
P
property
utilityrustv0.3.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Property
✓ use property::Property;

Derives getter methods for struct fields.

use property::Property; #[derive(Property)] struct Person { name: String, age: u32, } fn main() { let person = Person { name: "Alice".into(), age: 30 }; println!("Name: {}", person.name()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
property — cargo add property · libregistry