pub struct IRInputField {
pub name: String,
pub field_type: String,
pub nullable: bool,
pub default_value: Option<Value>,
pub description: Option<String>,
}Expand description
IR Input field definition.
Fields§
§name: StringField name.
field_type: StringField type (e.g., “String!”, “Int”).
nullable: boolIs field nullable?
default_value: Option<Value>Default value (as JSON).
description: Option<String>Field description.
Trait Implementations§
Source§impl Clone for IRInputField
impl Clone for IRInputField
Source§fn clone(&self) -> IRInputField
fn clone(&self) -> IRInputField
Returns a duplicate of the value. Read more
1.0.0 · 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 IRInputField
impl Debug for IRInputField
Source§impl<'de> Deserialize<'de> for IRInputField
impl<'de> Deserialize<'de> for IRInputField
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
Source§impl PartialEq for IRInputField
impl PartialEq for IRInputField
Source§impl Serialize for IRInputField
impl Serialize for IRInputField
impl StructuralPartialEq for IRInputField
Auto Trait Implementations§
impl Freeze for IRInputField
impl RefUnwindSafe for IRInputField
impl Send for IRInputField
impl Sync for IRInputField
impl Unpin for IRInputField
impl UnsafeUnpin for IRInputField
impl UnwindSafe for IRInputField
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