pub struct FieldDecl {
pub is_key: bool,
pub name: String,
pub field_type: FieldType,
pub is_optional: bool,
pub constraints: Vec<FieldConstraintDecl>,
pub default: Option<Expression>,
}Fields§
§is_key: bool§name: String§field_type: FieldType§is_optional: bool§constraints: Vec<FieldConstraintDecl>§default: Option<Expression>Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldDecl
impl<'de> Deserialize<'de> for FieldDecl
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 FieldDecl
impl RefUnwindSafe for FieldDecl
impl Send for FieldDecl
impl Sync for FieldDecl
impl Unpin for FieldDecl
impl UnsafeUnpin for FieldDecl
impl UnwindSafe for FieldDecl
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