pub struct IrProperty {
pub name: String,
pub type_expr: IrTypeExpr,
pub required: bool,
pub nullable: bool,
pub description: Option<String>,
pub default_value: Option<Value>,
pub format: Option<String>,
pub validation: Option<IrValidation>,
}Fields§
§name: String§type_expr: IrTypeExpr§required: bool§nullable: bool§description: Option<String>§default_value: Option<Value>§format: Option<String>§validation: Option<IrValidation>Trait Implementations§
Source§impl Clone for IrProperty
impl Clone for IrProperty
Source§fn clone(&self) -> IrProperty
fn clone(&self) -> IrProperty
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IrProperty
impl Debug for IrProperty
Auto Trait Implementations§
impl Freeze for IrProperty
impl RefUnwindSafe for IrProperty
impl Send for IrProperty
impl Sync for IrProperty
impl Unpin for IrProperty
impl UnsafeUnpin for IrProperty
impl UnwindSafe for IrProperty
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