pub struct FieldInfo {
pub name: String,
pub field_type: String,
pub visibility: String,
}Expand description
Information about a struct field.
Fields§
§name: StringName of the field.
field_type: StringType of the field as a string.
visibility: StringVisibility modifier for the field.
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