pub trait FieldValue {
// Required method
fn field_name() -> &'static str;
}
Expand description
Used to indicated that this type is used a field value
Required Methods§
Sourcefn field_name() -> &'static str
fn field_name() -> &'static str
Get the commonly used name of a field of this type that twitch is expecting
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.