pub struct Field {Show 14 fields
pub id: EntityId,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub name: String,
pub field_type: FieldType,
pub entity: Option<EntityId>,
pub relationship: FieldRelationshipType,
pub optional: bool,
pub is_list: bool,
pub strong: bool,
pub list_model: bool,
pub list_model_displayed_field: Option<String>,
pub enum_name: Option<String>,
pub enum_values: Vec<String>,
}Fields§
§id: EntityId§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§name: String§field_type: FieldType§entity: Option<EntityId>§relationship: FieldRelationshipType§optional: bool§is_list: bool§strong: bool§list_model: bool§list_model_displayed_field: Option<String>§enum_name: Option<String>§enum_values: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Field
impl<'de> Deserialize<'de> for Field
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 Field
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnsafeUnpin for Field
impl UnwindSafe for Field
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