pub struct EntityContract {
pub entity_name: String,
pub fields: Vec<FieldContract>,
pub identity_kind: Option<String>,
pub identity_key: Option<String>,
}Fields§
§entity_name: String§fields: Vec<FieldContract>§identity_kind: Option<String>§identity_key: Option<String>Trait Implementations§
Source§impl Clone for EntityContract
impl Clone for EntityContract
Source§fn clone(&self) -> EntityContract
fn clone(&self) -> EntityContract
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 EntityContract
impl Debug for EntityContract
Source§impl<'de> Deserialize<'de> for EntityContract
impl<'de> Deserialize<'de> for EntityContract
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 EntityContract
impl RefUnwindSafe for EntityContract
impl Send for EntityContract
impl Sync for EntityContract
impl Unpin for EntityContract
impl UnsafeUnpin for EntityContract
impl UnwindSafe for EntityContract
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