pub struct InstructionArgumentNode {
pub name: CamelCaseString,
pub default_value_strategy: Option<DefaultValueStrategy>,
pub docs: Docs,
pub type: TypeNode,
pub default_value: Option<InstructionInputValueNode>,
}Fields§
§name: CamelCaseString§default_value_strategy: Option<DefaultValueStrategy>§docs: Docs§type: TypeNode§default_value: Option<InstructionInputValueNode>Implementations§
Trait Implementations§
Source§impl Clone for InstructionArgumentNode
impl Clone for InstructionArgumentNode
Source§fn clone(&self) -> InstructionArgumentNode
fn clone(&self) -> InstructionArgumentNode
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 InstructionArgumentNode
impl Debug for InstructionArgumentNode
Source§impl<'de> Deserialize<'de> for InstructionArgumentNode
impl<'de> Deserialize<'de> for InstructionArgumentNode
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 From<InstructionArgumentNode> for Node
impl From<InstructionArgumentNode> for Node
Source§fn from(value: InstructionArgumentNode) -> Self
fn from(value: InstructionArgumentNode) -> Self
Converts to this type from the input type.
Source§impl From<StructFieldTypeNode> for InstructionArgumentNode
impl From<StructFieldTypeNode> for InstructionArgumentNode
Source§fn from(value: StructFieldTypeNode) -> Self
fn from(value: StructFieldTypeNode) -> Self
Converts to this type from the input type.
Source§impl HasName for InstructionArgumentNode
impl HasName for InstructionArgumentNode
fn name(&self) -> &CamelCaseString
Source§impl NodeTrait for InstructionArgumentNode
impl NodeTrait for InstructionArgumentNode
const KIND: &'static str = "instructionArgumentNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for InstructionArgumentNode
impl PartialEq for InstructionArgumentNode
Source§impl Serialize for InstructionArgumentNode
impl Serialize for InstructionArgumentNode
impl StructuralPartialEq for InstructionArgumentNode
Auto Trait Implementations§
impl Freeze for InstructionArgumentNode
impl RefUnwindSafe for InstructionArgumentNode
impl Send for InstructionArgumentNode
impl Sync for InstructionArgumentNode
impl Unpin for InstructionArgumentNode
impl UnwindSafe for InstructionArgumentNode
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