pub struct AppDataContract {
pub schema: AppSchema,
pub migrations: Vec<Migration>,
pub legacy_adoption: Option<LegacyAdoption>,
}Expand description
One backend-neutral app schema and its ordered additive migrations.
Fields§
§schema: AppSchema§migrations: Vec<Migration>§legacy_adoption: Option<LegacyAdoption>Trait Implementations§
Source§impl Clone for AppDataContract
impl Clone for AppDataContract
Source§fn clone(&self) -> AppDataContract
fn clone(&self) -> AppDataContract
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 AppDataContract
impl Debug for AppDataContract
Source§impl<'de> Deserialize<'de> for AppDataContract
impl<'de> Deserialize<'de> for AppDataContract
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 AppDataContract
impl PartialEq for AppDataContract
Source§fn eq(&self, other: &AppDataContract) -> bool
fn eq(&self, other: &AppDataContract) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AppDataContract
impl Serialize for AppDataContract
impl StructuralPartialEq for AppDataContract
Auto Trait Implementations§
impl Freeze for AppDataContract
impl RefUnwindSafe for AppDataContract
impl Send for AppDataContract
impl Sync for AppDataContract
impl Unpin for AppDataContract
impl UnsafeUnpin for AppDataContract
impl UnwindSafe for AppDataContract
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