pub struct SchemaExportEntry {
pub prefix: Option<&'static str>,
pub struct_name: &'static str,
pub module_path: &'static str,
pub id: Option<&'static str>,
pub version: u32,
pub resets: Option<bool>,
pub fields: &'static [FieldExportMeta],
}Fields§
§prefix: Option<&'static str>§struct_name: &'static str§module_path: &'static strThe module the struct is declared in, which tells apart two of one name.
id: Option<&'static str>The line the struct is a version of, where it named one.
version: u32§resets: Option<bool>Whether its fields take their default again once a key is gone, where
the struct said; None leaves it to the struct holding it, and at the
top to the store.
fields: &'static [FieldExportMeta]Implementations§
Source§impl SchemaExportEntry
impl SchemaExportEntry
Sourcepub fn is(&self, other: &SchemaExportEntry) -> bool
pub fn is(&self, other: &SchemaExportEntry) -> bool
Whether other was made from the same declaration.
Trait Implementations§
Source§impl Clone for SchemaExportEntry
impl Clone for SchemaExportEntry
impl Collect for SchemaExportEntry
impl Copy for SchemaExportEntry
Auto Trait Implementations§
impl Freeze for SchemaExportEntry
impl RefUnwindSafe for SchemaExportEntry
impl Send for SchemaExportEntry
impl Sync for SchemaExportEntry
impl Unpin for SchemaExportEntry
impl UnsafeUnpin for SchemaExportEntry
impl UnwindSafe for SchemaExportEntry
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