pub struct DbTable {
pub name: String,
pub fields: IndexMap<String, DbField>,
pub order: Option<u16>,
}Expand description
Table metadata keyed by logical field name.
Fields§
§name: String§fields: IndexMap<String, DbField>§order: Option<u16>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DbTable
impl<'de> Deserialize<'de> for DbTable
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
impl Eq for DbTable
impl StructuralPartialEq for DbTable
Auto Trait Implementations§
impl Freeze for DbTable
impl RefUnwindSafe for DbTable
impl Send for DbTable
impl Sync for DbTable
impl Unpin for DbTable
impl UnsafeUnpin for DbTable
impl UnwindSafe for DbTable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.