pub struct FieldInfo {
pub name: String,
pub rust_type: String,
pub typescript_type: String,
pub is_optional: bool,
pub is_public: bool,
pub validator_attributes: Option<ValidatorAttributes>,
pub serialized_name: Option<String>,
}Fields§
§name: String§rust_type: String§typescript_type: String§is_optional: bool§is_public: bool§validator_attributes: Option<ValidatorAttributes>§serialized_name: Option<String>The serialized name after applying serde rename/rename_all transformations. If None, the field name will be used.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldInfo
impl<'de> Deserialize<'de> for FieldInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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