pub struct StructInfo {
pub name: String,
pub fields: Vec<FieldInfo>,
pub file_path: String,
pub is_enum: bool,
pub serde_rename_all: Option<RenameRule>,
}Fields§
§name: String§fields: Vec<FieldInfo>§file_path: String§is_enum: bool§serde_rename_all: Option<RenameRule>Serde rename_all attribute: #[serde(rename_all = “…”)]
Trait Implementations§
Source§impl Clone for StructInfo
impl Clone for StructInfo
Source§fn clone(&self) -> StructInfo
fn clone(&self) -> StructInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StructInfo
impl RefUnwindSafe for StructInfo
impl Send for StructInfo
impl Sync for StructInfo
impl Unpin for StructInfo
impl UnwindSafe for StructInfo
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