pub struct EntityDefinition {
pub name: String,
pub fields: Vec<FieldDefinition>,
pub relations: Vec<RelationDefinition>,
}Fields§
§name: String§fields: Vec<FieldDefinition>§relations: Vec<RelationDefinition>Trait Implementations§
Source§impl Clone for EntityDefinition
impl Clone for EntityDefinition
Source§fn clone(&self) -> EntityDefinition
fn clone(&self) -> EntityDefinition
Returns a duplicate of the value. Read more
1.0.0 · 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 EntityDefinition
impl Debug for EntityDefinition
Auto Trait Implementations§
impl Freeze for EntityDefinition
impl RefUnwindSafe for EntityDefinition
impl Send for EntityDefinition
impl Sync for EntityDefinition
impl Unpin for EntityDefinition
impl UnsafeUnpin for EntityDefinition
impl UnwindSafe for EntityDefinition
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