pub struct DatabaseEntry {
pub name: String,
pub table_names: Vec<String>,
}Expand description
One database namespace and the tables it hosts.
Fields§
§name: StringDatabase name (e.g. "yeti-auth", "demo-basic").
table_names: Vec<String>Sorted list of table names backed by this database.
Trait Implementations§
Source§impl Clone for DatabaseEntry
impl Clone for DatabaseEntry
Source§fn clone(&self) -> DatabaseEntry
fn clone(&self) -> DatabaseEntry
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 DatabaseEntry
impl Debug for DatabaseEntry
Source§impl<'de> Deserialize<'de> for DatabaseEntry
impl<'de> Deserialize<'de> for DatabaseEntry
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 DatabaseEntry
impl RefUnwindSafe for DatabaseEntry
impl Send for DatabaseEntry
impl Sync for DatabaseEntry
impl Unpin for DatabaseEntry
impl UnsafeUnpin for DatabaseEntry
impl UnwindSafe for DatabaseEntry
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