Expand description
Powerful data objects for Laravel Rust: a port of spatie/laravel-data. See the README for the guide.
Structs§
- Data
Config - The package’s settings:
config/data.php. - Data
Service Provider - Registers the
DataConfigsection: - Lazy
- A property that’s only included when asked for: the PHP package’s
Lazy. - Partials
- A tree of partial paths.
- Transformation
- A data object or collection with the partials, additional data and wrap of one
transformation: what PHP’s
include(),additional()andwrap()return.
Enums§
- Optional
- A value that may be missing from the input, and is left out of the output when it is: the
PHP package’s
Optional.
Traits§
- Data
- A data object: the PHP package’s
Dataclass. DeriveSerialize(andDeserializeto create it from input), then implementData: - Data
Collection - Lists of data objects: PHP’s
DataCollectionandcollect().