pub struct GeneratedMigration { /* private fields */ }Expand description
A freshly authored manifest with its exact canonical persistence bytes.
Implementations§
Source§impl GeneratedMigration
impl GeneratedMigration
Sourcepub const fn manifest(&self) -> &VerifiedSchemaMigrationManifest
pub const fn manifest(&self) -> &VerifiedSchemaMigrationManifest
Return the verified manifest.
Sourcepub fn canonical_bytes(&self) -> &[u8] ⓘ
pub fn canonical_bytes(&self) -> &[u8] ⓘ
Return the exact canonical manifest bytes to persist.
Sourcepub fn preview_file_name(&self) -> String
pub fn preview_file_name(&self) -> String
Return the review-only TypeQL preview file name for this manifest.
Trait Implementations§
Source§impl Clone for GeneratedMigration
impl Clone for GeneratedMigration
Source§fn clone(&self) -> GeneratedMigration
fn clone(&self) -> GeneratedMigration
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 moreAuto Trait Implementations§
impl Freeze for GeneratedMigration
impl RefUnwindSafe for GeneratedMigration
impl Send for GeneratedMigration
impl Sync for GeneratedMigration
impl Unpin for GeneratedMigration
impl UnsafeUnpin for GeneratedMigration
impl UnwindSafe for GeneratedMigration
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