pub struct RawDatabase {
pub db_type: String,
pub url: String,
pub status: String,
pub error: Option<String>,
pub migration_status: MigrationStatus,
}Fields§
§db_type: String§url: String§status: String§error: Option<String>§migration_status: MigrationStatusTrait Implementations§
Source§impl<'de> Deserialize<'de> for RawDatabase
impl<'de> Deserialize<'de> for RawDatabase
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 From<RawDatabase> for Database
impl From<RawDatabase> for Database
Source§fn from(raw: RawDatabase) -> Self
fn from(raw: RawDatabase) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RawDatabase
impl RefUnwindSafe for RawDatabase
impl Send for RawDatabase
impl Sync for RawDatabase
impl Unpin for RawDatabase
impl UnsafeUnpin for RawDatabase
impl UnwindSafe for RawDatabase
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