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