pub enum PdaValue {
Linked(PdaLinkNode),
Nested(PdaNode),
}Variants§
Linked(PdaLinkNode)
Nested(PdaNode)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PdaValue
impl<'de> Deserialize<'de> for PdaValue
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<PdaLinkNode> for PdaValue
impl From<PdaLinkNode> for PdaValue
Source§fn from(value: PdaLinkNode) -> Self
fn from(value: PdaLinkNode) -> Self
Converts to this type from the input type.
impl NodeUnionTrait for PdaValue
impl StructuralPartialEq for PdaValue
Auto Trait Implementations§
impl Freeze for PdaValue
impl RefUnwindSafe for PdaValue
impl Send for PdaValue
impl Sync for PdaValue
impl Unpin for PdaValue
impl UnwindSafe for PdaValue
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