pub struct DatabaseInfo {Show 16 fields
pub id: String,
pub name: String,
pub user_id: String,
pub account_id: Option<String>,
pub backend_server_id: Option<String>,
pub backend_database_id: Option<String>,
pub region: Option<String>,
pub status: String,
pub engine: String,
pub size_class: Option<String>,
pub s3_key: Option<String>,
pub wal_s3_prefix: Option<String>,
pub error_message: Option<String>,
pub created_at: String,
pub updated_at: String,
pub status_changed_at: String,
}Fields§
§id: String§name: String§user_id: String§account_id: Option<String>§backend_server_id: Option<String>§backend_database_id: Option<String>§region: Option<String>§status: String§engine: StringDatabase engine — "sqlite" (default for backwards compatibility)
or "duckdb". Older cloud deployments may not populate this field,
in which case it defaults to "sqlite".
size_class: Option<String>§s3_key: Option<String>§wal_s3_prefix: Option<String>§error_message: Option<String>§created_at: String§updated_at: String§status_changed_at: StringTrait Implementations§
Source§impl Clone for DatabaseInfo
impl Clone for DatabaseInfo
Source§fn clone(&self) -> DatabaseInfo
fn clone(&self) -> DatabaseInfo
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 DatabaseInfo
impl Debug for DatabaseInfo
Source§impl<'de> Deserialize<'de> for DatabaseInfo
impl<'de> Deserialize<'de> for DatabaseInfo
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
Auto Trait Implementations§
impl Freeze for DatabaseInfo
impl RefUnwindSafe for DatabaseInfo
impl Send for DatabaseInfo
impl Sync for DatabaseInfo
impl Unpin for DatabaseInfo
impl UnsafeUnpin for DatabaseInfo
impl UnwindSafe for DatabaseInfo
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