pub struct MigrationGeneral {
pub id: Option<String>,
pub last_migration: Option<String>,
pub name: Option<String>,
pub new_name: Option<String>,
pub prefix: Option<String>,
pub protection_key: Option<String>,
pub status: Option<String>,
pub type: Option<String>,
}Fields§
§id: Option<String>§last_migration: Option<String>§name: Option<String>§new_name: Option<String>§prefix: Option<String>§protection_key: Option<String>§status: Option<String>§type: Option<String>Implementations§
Source§impl MigrationGeneral
impl MigrationGeneral
pub fn new() -> MigrationGeneral
Trait Implementations§
Source§impl Clone for MigrationGeneral
impl Clone for MigrationGeneral
Source§fn clone(&self) -> MigrationGeneral
fn clone(&self) -> MigrationGeneral
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 MigrationGeneral
impl Debug for MigrationGeneral
Source§impl Default for MigrationGeneral
impl Default for MigrationGeneral
Source§fn default() -> MigrationGeneral
fn default() -> MigrationGeneral
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MigrationGeneral
impl<'de> Deserialize<'de> for MigrationGeneral
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 MigrationGeneral
impl PartialEq for MigrationGeneral
Source§fn eq(&self, other: &MigrationGeneral) -> bool
fn eq(&self, other: &MigrationGeneral) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MigrationGeneral
impl Serialize for MigrationGeneral
impl StructuralPartialEq for MigrationGeneral
Auto Trait Implementations§
impl Freeze for MigrationGeneral
impl RefUnwindSafe for MigrationGeneral
impl Send for MigrationGeneral
impl Sync for MigrationGeneral
impl Unpin for MigrationGeneral
impl UnsafeUnpin for MigrationGeneral
impl UnwindSafe for MigrationGeneral
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