pub struct EntityView {
pub name: String,
pub id: u32,
pub primary: String,
pub fields: Vec<FieldView>,
pub indexes: Vec<IndexView>,
}Expand description
Inspected entity.
Fields§
§name: StringEntity name.
id: u32Schema entity identifier.
primary: StringPrimary key field.
fields: Vec<FieldView>Stored fields.
indexes: Vec<IndexView>Declared indexes.
Trait Implementations§
Source§impl Debug for EntityView
impl Debug for EntityView
Source§impl<'de> Deserialize<'de> for EntityView
impl<'de> Deserialize<'de> for EntityView
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 Forget for EntityView
impl Freeze for EntityView
impl Move for EntityView
impl RefUnwindSafe for EntityView
impl Send for EntityView
impl Sync for EntityView
impl Unpin for EntityView
impl UnsafeUnpin for EntityView
impl UnwindSafe for EntityView
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