pub struct IRArgument {
pub name: String,
pub arg_type: String,
pub nullable: bool,
pub default_value: Option<Value>,
pub description: Option<String>,
}Expand description
IR Argument definition.
Fields§
§name: StringArgument name.
arg_type: StringArgument type.
nullable: boolIs argument nullable?
default_value: Option<Value>Default value (as JSON).
description: Option<String>Argument description.
Trait Implementations§
Source§impl Clone for IRArgument
impl Clone for IRArgument
Source§fn clone(&self) -> IRArgument
fn clone(&self) -> IRArgument
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 IRArgument
impl Debug for IRArgument
Source§impl<'de> Deserialize<'de> for IRArgument
impl<'de> Deserialize<'de> for IRArgument
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 IRArgument
impl PartialEq for IRArgument
Source§impl Serialize for IRArgument
impl Serialize for IRArgument
impl StructuralPartialEq for IRArgument
Auto Trait Implementations§
impl Freeze for IRArgument
impl RefUnwindSafe for IRArgument
impl Send for IRArgument
impl Sync for IRArgument
impl Unpin for IRArgument
impl UnsafeUnpin for IRArgument
impl UnwindSafe for IRArgument
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