pub trait SerializedAttribute {
// Provided method
fn serialized_attributes() -> &'static [SerializedFieldConfig] { ... }
}Expand description
Trait implemented by records that declare serialized attributes.
Provided Methods§
Sourcefn serialized_attributes() -> &'static [SerializedFieldConfig]
fn serialized_attributes() -> &'static [SerializedFieldConfig]
Returns serialized attribute metadata for the record type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.