pub struct AccountLinkNode {
pub name: CamelCaseString,
pub program: Option<ProgramLinkNode>,
}Fields§
§name: CamelCaseString§program: Option<ProgramLinkNode>Implementations§
Source§impl AccountLinkNode
impl AccountLinkNode
pub fn new<T>(name: T) -> AccountLinkNodewhere
T: Into<CamelCaseString>,
pub fn new_from_program<T>(name: T, program: ProgramLinkNode) -> AccountLinkNodewhere
T: Into<CamelCaseString>,
Trait Implementations§
Source§impl Clone for AccountLinkNode
impl Clone for AccountLinkNode
Source§fn clone(&self) -> AccountLinkNode
fn clone(&self) -> AccountLinkNode
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 AccountLinkNode
impl Debug for AccountLinkNode
Source§impl<'de> Deserialize<'de> for AccountLinkNode
impl<'de> Deserialize<'de> for AccountLinkNode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AccountLinkNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AccountLinkNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&str> for AccountLinkNode
impl From<&str> for AccountLinkNode
Source§fn from(name: &str) -> AccountLinkNode
fn from(name: &str) -> AccountLinkNode
Converts to this type from the input type.
Source§impl From<AccountLinkNode> for InstructionByteDeltaNodeValue
impl From<AccountLinkNode> for InstructionByteDeltaNodeValue
Source§fn from(value: AccountLinkNode) -> InstructionByteDeltaNodeValue
fn from(value: AccountLinkNode) -> InstructionByteDeltaNodeValue
Converts to this type from the input type.
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<AccountLinkNode> for Node
impl From<AccountLinkNode> for Node
Source§fn from(val: AccountLinkNode) -> Node
fn from(val: AccountLinkNode) -> Node
Converts to this type from the input type.
Source§impl From<String> for AccountLinkNode
impl From<String> for AccountLinkNode
Source§fn from(name: String) -> AccountLinkNode
fn from(name: String) -> AccountLinkNode
Converts to this type from the input type.
Source§impl NodeTrait for AccountLinkNode
impl NodeTrait for AccountLinkNode
Source§impl PartialEq for AccountLinkNode
impl PartialEq for AccountLinkNode
Source§impl Serialize for AccountLinkNode
impl Serialize for AccountLinkNode
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 AccountLinkNode
Auto Trait Implementations§
impl Freeze for AccountLinkNode
impl RefUnwindSafe for AccountLinkNode
impl Send for AccountLinkNode
impl Sync for AccountLinkNode
impl Unpin for AccountLinkNode
impl UnwindSafe for AccountLinkNode
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