pub struct FieldInfo {
pub name: String,
pub rust_type: String,
pub is_optional: bool,
pub is_public: bool,
pub validator_attributes: Option<ValidatorAttributes>,
pub serde_rename: Option<String>,
pub type_structure: TypeStructure,
}Fields§
§name: String§rust_type: String§is_optional: bool§is_public: bool§validator_attributes: Option<ValidatorAttributes>§serde_rename: Option<String>Serde rename attribute: #[serde(rename = “…”)]
type_structure: TypeStructureStructured representation of the type for generators
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FieldInfo
impl RefUnwindSafe for FieldInfo
impl Send for FieldInfo
impl Sync for FieldInfo
impl Unpin for FieldInfo
impl UnwindSafe for FieldInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more