Struct bonsaidb_core::connection::Database
source · pub struct Database {
pub name: String,
pub schema: SchemaName,
}
Expand description
A database stored in BonsaiDb.
Fields§
§name: String
The name of the database.
schema: SchemaName
The schema defining 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 PartialEq for Database
impl PartialEq for Database
impl Eq for Database
impl StructuralEq for Database
impl StructuralPartialEq for Database
Auto Trait Implementations§
impl RefUnwindSafe for Database
impl Send for Database
impl Sync for Database
impl Unpin 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