pub struct InstructionArgumentLinkNode {
pub name: CamelCaseString,
pub instruction: Option<InstructionLinkNode>,
}Fields§
§name: CamelCaseString§instruction: Option<InstructionLinkNode>Implementations§
Source§impl InstructionArgumentLinkNode
impl InstructionArgumentLinkNode
pub fn new<T>(name: T) -> Selfwhere
T: Into<CamelCaseString>,
pub fn new_from_instruction<T>(
name: T,
instruction: InstructionLinkNode,
) -> Selfwhere
T: Into<CamelCaseString>,
Trait Implementations§
Source§impl Clone for InstructionArgumentLinkNode
impl Clone for InstructionArgumentLinkNode
Source§fn clone(&self) -> InstructionArgumentLinkNode
fn clone(&self) -> InstructionArgumentLinkNode
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 InstructionArgumentLinkNode
impl Debug for InstructionArgumentLinkNode
Source§impl<'de> Deserialize<'de> for InstructionArgumentLinkNode
impl<'de> Deserialize<'de> for InstructionArgumentLinkNode
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<&str> for InstructionArgumentLinkNode
impl From<&str> for InstructionArgumentLinkNode
Source§impl From<InstructionArgumentLinkNode> for LinkNode
impl From<InstructionArgumentLinkNode> for LinkNode
Source§fn from(value: InstructionArgumentLinkNode) -> Self
fn from(value: InstructionArgumentLinkNode) -> Self
Converts to this type from the input type.
Source§impl From<InstructionArgumentLinkNode> for Node
impl From<InstructionArgumentLinkNode> for Node
Source§fn from(val: InstructionArgumentLinkNode) -> Self
fn from(val: InstructionArgumentLinkNode) -> Self
Converts to this type from the input type.
Source§impl From<String> for InstructionArgumentLinkNode
impl From<String> for InstructionArgumentLinkNode
Source§impl HasName for InstructionArgumentLinkNode
impl HasName for InstructionArgumentLinkNode
fn name(&self) -> &CamelCaseString
Source§impl NodeTrait for InstructionArgumentLinkNode
impl NodeTrait for InstructionArgumentLinkNode
const KIND: &'static str = "instructionArgumentLinkNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
impl StructuralPartialEq for InstructionArgumentLinkNode
Auto Trait Implementations§
impl Freeze for InstructionArgumentLinkNode
impl RefUnwindSafe for InstructionArgumentLinkNode
impl Send for InstructionArgumentLinkNode
impl Sync for InstructionArgumentLinkNode
impl Unpin for InstructionArgumentLinkNode
impl UnwindSafe for InstructionArgumentLinkNode
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