pub struct DtoField {
pub id: EntityId,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub name: String,
pub field_type: DtoFieldType,
pub optional: bool,
pub is_list: bool,
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: DtoFieldType§optional: bool§is_list: bool§enum_name: Option<String>§enum_values: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for DtoField
impl<'de> Deserialize<'de> for DtoField
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 DtoField
impl StructuralPartialEq for DtoField
Auto Trait Implementations§
impl Freeze for DtoField
impl RefUnwindSafe for DtoField
impl Send for DtoField
impl Sync for DtoField
impl Unpin for DtoField
impl UnsafeUnpin for DtoField
impl UnwindSafe for DtoField
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