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