pub trait FromField: Sized {
// Required method
fn from_field(field: &Field) -> Result<Self, Error>;
}
Expand description
Creates an instance by parsing an individual field and its attributes.
pub trait FromField: Sized {
// Required method
fn from_field(field: &Field) -> Result<Self, Error>;
}
Creates an instance by parsing an individual field and its attributes.