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 EntityViewwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<FieldView>: Freeze,
PhantomData<IndexView>: Freeze,
impl Move for EntityView
impl RefUnwindSafe for EntityView
impl Send for EntityViewwhere
RawVecInner: Send,
impl Sync for EntityViewwhere
RawVecInner: Sync,
impl Unpin for EntityView
impl UnsafeUnpin for EntityViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<FieldView>: UnsafeUnpin,
PhantomData<IndexView>: UnsafeUnpin,
impl UnwindSafe for EntityViewwhere
RawVecInner: UnwindSafe,
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