pub struct AdoptionManifest {
pub logical_schema: RelationId,
pub physical_schema: RelationId,
}Expand description
Exact adoption declaration for an existing store.
Fields§
§logical_schema: RelationIdLogical schema the old file is claimed to implement.
physical_schema: RelationIdExact normalized identity observed from that file.
Implementations§
Source§impl AdoptionManifest
impl AdoptionManifest
Sourcepub fn verify(
&self,
live_physical_schema: &RelationId,
) -> Result<(), AdoptionError>
pub fn verify( &self, live_physical_schema: &RelationId, ) -> Result<(), AdoptionError>
Accepts adoption only when live introspection exactly matches the authored file identity; a metadata row cannot override drift.
Trait Implementations§
Source§impl Clone for AdoptionManifest
impl Clone for AdoptionManifest
Source§fn clone(&self) -> AdoptionManifest
fn clone(&self) -> AdoptionManifest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AdoptionManifest
impl Debug for AdoptionManifest
impl Eq for AdoptionManifest
Source§impl PartialEq for AdoptionManifest
impl PartialEq for AdoptionManifest
impl StructuralPartialEq for AdoptionManifest
Auto Trait Implementations§
impl Freeze for AdoptionManifest
impl RefUnwindSafe for AdoptionManifest
impl Send for AdoptionManifest
impl Sync for AdoptionManifest
impl Unpin for AdoptionManifest
impl UnsafeUnpin for AdoptionManifest
impl UnwindSafe for AdoptionManifest
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