pub enum ContextualValueNode {
Account(AccountValueNode),
AccountBump(AccountBumpValueNode),
Argument(ArgumentValueNode),
Conditional(ConditionalValueNode),
Identity(IdentityValueNode),
Payer(PayerValueNode),
Pda(PdaValueNode),
ProgramId(ProgramIdValueNode),
Resolver(ResolverValueNode),
}Variants§
Account(AccountValueNode)
AccountBump(AccountBumpValueNode)
Argument(ArgumentValueNode)
Conditional(ConditionalValueNode)
Identity(IdentityValueNode)
Payer(PayerValueNode)
Pda(PdaValueNode)
ProgramId(ProgramIdValueNode)
Resolver(ResolverValueNode)
Trait Implementations§
Source§impl Clone for ContextualValueNode
impl Clone for ContextualValueNode
Source§fn clone(&self) -> ContextualValueNode
fn clone(&self) -> ContextualValueNode
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 ContextualValueNode
impl Debug for ContextualValueNode
Source§impl<'de> Deserialize<'de> for ContextualValueNode
impl<'de> Deserialize<'de> for ContextualValueNode
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<AccountBumpValueNode> for ContextualValueNode
impl From<AccountBumpValueNode> for ContextualValueNode
Source§fn from(value: AccountBumpValueNode) -> Self
fn from(value: AccountBumpValueNode) -> Self
Converts to this type from the input type.
Source§impl From<AccountValueNode> for ContextualValueNode
impl From<AccountValueNode> for ContextualValueNode
Source§fn from(value: AccountValueNode) -> Self
fn from(value: AccountValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ArgumentValueNode> for ContextualValueNode
impl From<ArgumentValueNode> for ContextualValueNode
Source§fn from(value: ArgumentValueNode) -> Self
fn from(value: ArgumentValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ConditionalValueNode> for ContextualValueNode
impl From<ConditionalValueNode> for ContextualValueNode
Source§fn from(value: ConditionalValueNode) -> Self
fn from(value: ConditionalValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ContextualValueNode> for Node
impl From<ContextualValueNode> for Node
Source§fn from(node: ContextualValueNode) -> Self
fn from(node: ContextualValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ContextualValueNode> for RegisteredContextualValueNode
impl From<ContextualValueNode> for RegisteredContextualValueNode
Source§fn from(value: ContextualValueNode) -> Self
fn from(value: ContextualValueNode) -> Self
Converts to this type from the input type.
Source§impl From<IdentityValueNode> for ContextualValueNode
impl From<IdentityValueNode> for ContextualValueNode
Source§fn from(value: IdentityValueNode) -> Self
fn from(value: IdentityValueNode) -> Self
Converts to this type from the input type.
Source§impl From<PayerValueNode> for ContextualValueNode
impl From<PayerValueNode> for ContextualValueNode
Source§fn from(value: PayerValueNode) -> Self
fn from(value: PayerValueNode) -> Self
Converts to this type from the input type.
Source§impl From<PdaValueNode> for ContextualValueNode
impl From<PdaValueNode> for ContextualValueNode
Source§fn from(value: PdaValueNode) -> Self
fn from(value: PdaValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ProgramIdValueNode> for ContextualValueNode
impl From<ProgramIdValueNode> for ContextualValueNode
Source§fn from(value: ProgramIdValueNode) -> Self
fn from(value: ProgramIdValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ResolverValueNode> for ContextualValueNode
impl From<ResolverValueNode> for ContextualValueNode
Source§fn from(value: ResolverValueNode) -> Self
fn from(value: ResolverValueNode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ContextualValueNode
impl PartialEq for ContextualValueNode
Source§impl Serialize for ContextualValueNode
impl Serialize for ContextualValueNode
Source§impl TryFrom<RegisteredContextualValueNode> for ContextualValueNode
impl TryFrom<RegisteredContextualValueNode> for ContextualValueNode
Source§type Error = CodamaError
type Error = CodamaError
The type returned in the event of a conversion error.
impl NodeUnionTrait for ContextualValueNode
impl StructuralPartialEq for ContextualValueNode
Auto Trait Implementations§
impl Freeze for ContextualValueNode
impl RefUnwindSafe for ContextualValueNode
impl Send for ContextualValueNode
impl Sync for ContextualValueNode
impl Unpin for ContextualValueNode
impl UnwindSafe for ContextualValueNode
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