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) -> Selfwhere
    T: Into<CamelCaseString>,
pub fn new_from_program<T>(name: T, program: ProgramLinkNode) -> Selfwhere
    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 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 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<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 AccountLinkNode
 
impl From<&str> for AccountLinkNode
Source§impl From<AccountLinkNode> for InstructionByteDeltaNodeValue
 
impl From<AccountLinkNode> for InstructionByteDeltaNodeValue
Source§fn from(value: AccountLinkNode) -> Self
 
fn from(value: AccountLinkNode) -> Self
Converts to this type from the input type.
Source§impl From<AccountLinkNode> for LinkNode
 
impl From<AccountLinkNode> for LinkNode
Source§fn from(value: AccountLinkNode) -> Self
 
fn from(value: AccountLinkNode) -> Self
Converts to this type from the input type.
Source§impl From<AccountLinkNode> for Node
 
impl From<AccountLinkNode> for Node
Source§fn from(val: AccountLinkNode) -> Self
 
fn from(val: AccountLinkNode) -> Self
Converts to this type from the input type.
Source§impl From<String> for AccountLinkNode
 
impl From<String> for AccountLinkNode
Source§impl HasName for AccountLinkNode
 
impl HasName for AccountLinkNode
fn name(&self) -> &CamelCaseString
Source§impl NodeTrait for AccountLinkNode
 
impl NodeTrait for AccountLinkNode
const KIND: &'static str = "accountLinkNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for AccountLinkNode
 
impl PartialEq for AccountLinkNode
Source§impl Serialize for AccountLinkNode
 
impl Serialize for AccountLinkNode
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