pub struct InstructionAccountLinkNode {
pub name: CamelCaseString,
pub instruction: Option<InstructionLinkNode>,
}Fields§
§name: CamelCaseString§instruction: Option<InstructionLinkNode>Implementations§
Source§impl InstructionAccountLinkNode
impl InstructionAccountLinkNode
pub fn new<T>(name: T) -> InstructionAccountLinkNodewhere
T: Into<CamelCaseString>,
pub fn new_from_instruction<T>(
name: T,
instruction: InstructionLinkNode,
) -> InstructionAccountLinkNodewhere
T: Into<CamelCaseString>,
Trait Implementations§
Source§impl Clone for InstructionAccountLinkNode
impl Clone for InstructionAccountLinkNode
Source§fn clone(&self) -> InstructionAccountLinkNode
fn clone(&self) -> InstructionAccountLinkNode
Returns a copy 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 InstructionAccountLinkNode
impl Debug for InstructionAccountLinkNode
Source§impl<'de> Deserialize<'de> for InstructionAccountLinkNode
impl<'de> Deserialize<'de> for InstructionAccountLinkNode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InstructionAccountLinkNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InstructionAccountLinkNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&str> for InstructionAccountLinkNode
impl From<&str> for InstructionAccountLinkNode
Source§fn from(name: &str) -> InstructionAccountLinkNode
fn from(name: &str) -> InstructionAccountLinkNode
Converts to this type from the input type.
Source§impl From<InstructionAccountLinkNode> for LinkNode
impl From<InstructionAccountLinkNode> for LinkNode
Source§fn from(value: InstructionAccountLinkNode) -> LinkNode
fn from(value: InstructionAccountLinkNode) -> LinkNode
Converts to this type from the input type.
Source§impl From<InstructionAccountLinkNode> for Node
impl From<InstructionAccountLinkNode> for Node
Source§fn from(val: InstructionAccountLinkNode) -> Node
fn from(val: InstructionAccountLinkNode) -> Node
Converts to this type from the input type.
Source§impl From<String> for InstructionAccountLinkNode
impl From<String> for InstructionAccountLinkNode
Source§fn from(name: String) -> InstructionAccountLinkNode
fn from(name: String) -> InstructionAccountLinkNode
Converts to this type from the input type.
Source§impl Serialize for InstructionAccountLinkNode
impl Serialize for InstructionAccountLinkNode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for InstructionAccountLinkNode
Auto Trait Implementations§
impl Freeze for InstructionAccountLinkNode
impl RefUnwindSafe for InstructionAccountLinkNode
impl Send for InstructionAccountLinkNode
impl Sync for InstructionAccountLinkNode
impl Unpin for InstructionAccountLinkNode
impl UnwindSafe for InstructionAccountLinkNode
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