Skip to main content

SerializedAttribute

Trait SerializedAttribute 

Source
pub trait SerializedAttribute {
    // Provided method
    fn serialized_attributes() -> &'static [SerializedFieldConfig] { ... }
}
Expand description

Trait implemented by records that declare serialized attributes.

Provided Methods§

Source

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.

Implementors§