pub struct IrField {
pub original_name: String,
pub rust_name: String,
pub doc: Option<String>,
pub field_type: IrType,
pub required: bool,
pub read_only: bool,
pub deprecated: bool,
pub default_value: Option<String>,
pub needs_box: bool,
pub serde_flatten: bool,
}Fields§
§original_name: String§rust_name: String§doc: Option<String>§field_type: IrType§required: bool§read_only: bool§deprecated: bool§default_value: Option<String>§needs_box: boolSet by resolve when breaking a cyclic $ref.
serde_flatten: bool#[serde(flatten)] for additionalProperties alongside fixed properties.
Trait Implementations§
impl Eq for IrField
impl StructuralPartialEq for IrField
Auto Trait Implementations§
impl Freeze for IrField
impl RefUnwindSafe for IrField
impl Send for IrField
impl Sync for IrField
impl Unpin for IrField
impl UnsafeUnpin for IrField
impl UnwindSafe for IrField
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