pub struct Database {
pub db_type: String,
pub url: String,
pub status: Health,
pub migration_status: MigrationStatus,
}Expand description
Database information.
Fields§
§db_type: StringType of the database.
url: StringURL of the database.
status: HealthHealth status of the database.
migration_status: MigrationStatusMigration status of the database.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Database
impl<'de> Deserialize<'de> for Database
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 Database
impl RefUnwindSafe for Database
impl Send for Database
impl Sync for Database
impl Unpin for Database
impl UnsafeUnpin for Database
impl UnwindSafe for Database
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