pub struct RemodelFile {
pub writer: String,
pub conceptual: ConceptualModel,
pub logical: Option<LogicalModel>,
}Expand description
On-disk envelope for a .remodel file.
Fields§
§writer: StringWriter tag, typically "remodel-core/<version>". Useful for migrations.
conceptual: ConceptualModelThe conceptual (ER) model — the source of truth.
logical: Option<LogicalModel>Cached logical model, if any. May be regenerated from conceptual.
Implementations§
Source§impl RemodelFile
impl RemodelFile
Trait Implementations§
Source§impl Clone for RemodelFile
impl Clone for RemodelFile
Source§fn clone(&self) -> RemodelFile
fn clone(&self) -> RemodelFile
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 moreSource§impl Debug for RemodelFile
impl Debug for RemodelFile
Source§impl<'de> Deserialize<'de> for RemodelFile
impl<'de> Deserialize<'de> for RemodelFile
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 RemodelFile
impl RefUnwindSafe for RemodelFile
impl Send for RemodelFile
impl Sync for RemodelFile
impl Unpin for RemodelFile
impl UnsafeUnpin for RemodelFile
impl UnwindSafe for RemodelFile
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