pub struct MigrationPreview {
pub preview: String,
pub ir_json: String,
pub redacted_ir_json: String,
pub normalized_sql: String,
pub parameter_types: Vec<DataTypeDescriptor>,
pub shape_fingerprint: String,
}Fields§
§preview: String§ir_json: String§redacted_ir_json: String§normalized_sql: String§parameter_types: Vec<DataTypeDescriptor>§shape_fingerprint: StringImplementations§
Source§impl MigrationPreview
impl MigrationPreview
pub fn from_builder( builder: &impl OrmBuilder, ) -> Result<Self, MigrationPreviewError>
pub fn to_json(&self) -> Result<String, Error>
Trait Implementations§
Source§impl Clone for MigrationPreview
impl Clone for MigrationPreview
Source§fn clone(&self) -> MigrationPreview
fn clone(&self) -> MigrationPreview
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 MigrationPreview
impl Debug for MigrationPreview
Source§impl<'de> Deserialize<'de> for MigrationPreview
impl<'de> Deserialize<'de> for MigrationPreview
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
Source§impl PartialEq for MigrationPreview
impl PartialEq for MigrationPreview
Source§impl Serialize for MigrationPreview
impl Serialize for MigrationPreview
impl StructuralPartialEq for MigrationPreview
Auto Trait Implementations§
impl Freeze for MigrationPreview
impl RefUnwindSafe for MigrationPreview
impl Send for MigrationPreview
impl Sync for MigrationPreview
impl Unpin for MigrationPreview
impl UnsafeUnpin for MigrationPreview
impl UnwindSafe for MigrationPreview
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