pub enum LinkNode {
Account(AccountLinkNode),
DefinedType(DefinedTypeLinkNode),
Instruction(InstructionLinkNode),
InstructionAccount(InstructionAccountLinkNode),
InstructionArgument(InstructionArgumentLinkNode),
Pda(PdaLinkNode),
Program(ProgramLinkNode),
}
Variants§
Account(AccountLinkNode)
DefinedType(DefinedTypeLinkNode)
Instruction(InstructionLinkNode)
InstructionAccount(InstructionAccountLinkNode)
InstructionArgument(InstructionArgumentLinkNode)
Pda(PdaLinkNode)
Program(ProgramLinkNode)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LinkNode
impl<'de> Deserialize<'de> for LinkNode
Source§fn deserialize<D>(
deserializer: D,
) -> Result<LinkNode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<LinkNode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<AccountLinkNode> for LinkNode
impl From<AccountLinkNode> for LinkNode
Source§fn from(value: AccountLinkNode) -> LinkNode
fn from(value: AccountLinkNode) -> LinkNode
Converts to this type from the input type.
Source§impl From<DefinedTypeLinkNode> for LinkNode
impl From<DefinedTypeLinkNode> for LinkNode
Source§fn from(value: DefinedTypeLinkNode) -> LinkNode
fn from(value: DefinedTypeLinkNode) -> LinkNode
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<InstructionArgumentLinkNode> for LinkNode
impl From<InstructionArgumentLinkNode> for LinkNode
Source§fn from(value: InstructionArgumentLinkNode) -> LinkNode
fn from(value: InstructionArgumentLinkNode) -> LinkNode
Converts to this type from the input type.
Source§impl From<InstructionLinkNode> for LinkNode
impl From<InstructionLinkNode> for LinkNode
Source§fn from(value: InstructionLinkNode) -> LinkNode
fn from(value: InstructionLinkNode) -> LinkNode
Converts to this type from the input type.
Source§impl From<PdaLinkNode> for LinkNode
impl From<PdaLinkNode> for LinkNode
Source§fn from(value: PdaLinkNode) -> LinkNode
fn from(value: PdaLinkNode) -> LinkNode
Converts to this type from the input type.
Source§impl From<ProgramLinkNode> for LinkNode
impl From<ProgramLinkNode> for LinkNode
Source§fn from(value: ProgramLinkNode) -> LinkNode
fn from(value: ProgramLinkNode) -> LinkNode
Converts to this type from the input type.
Source§impl Serialize for LinkNode
impl Serialize for LinkNode
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 NodeUnionTrait for LinkNode
impl StructuralPartialEq for LinkNode
Auto Trait Implementations§
impl Freeze for LinkNode
impl RefUnwindSafe for LinkNode
impl Send for LinkNode
impl Sync for LinkNode
impl Unpin for LinkNode
impl UnwindSafe for LinkNode
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