pub enum RegisteredContextualValueNode {
Account(AccountValueNode),
AccountBump(AccountBumpValueNode),
Argument(ArgumentValueNode),
Conditional(ConditionalValueNode),
Identity(IdentityValueNode),
Payer(PayerValueNode),
Pda(PdaValueNode),
ProgramId(ProgramIdValueNode),
Resolver(ResolverValueNode),
PdaSeed(PdaSeedValueNode),
}Variants§
Account(AccountValueNode)
AccountBump(AccountBumpValueNode)
Argument(ArgumentValueNode)
Conditional(ConditionalValueNode)
Identity(IdentityValueNode)
Payer(PayerValueNode)
Pda(PdaValueNode)
ProgramId(ProgramIdValueNode)
Resolver(ResolverValueNode)
PdaSeed(PdaSeedValueNode)
Trait Implementations§
Source§impl Clone for RegisteredContextualValueNode
impl Clone for RegisteredContextualValueNode
Source§fn clone(&self) -> RegisteredContextualValueNode
fn clone(&self) -> RegisteredContextualValueNode
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<'de> Deserialize<'de> for RegisteredContextualValueNode
impl<'de> Deserialize<'de> for RegisteredContextualValueNode
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 RegisteredContextualValueNode
impl From<AccountBumpValueNode> for RegisteredContextualValueNode
Source§fn from(value: AccountBumpValueNode) -> Self
fn from(value: AccountBumpValueNode) -> Self
Converts to this type from the input type.
Source§impl From<AccountValueNode> for RegisteredContextualValueNode
impl From<AccountValueNode> for RegisteredContextualValueNode
Source§fn from(value: AccountValueNode) -> Self
fn from(value: AccountValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ArgumentValueNode> for RegisteredContextualValueNode
impl From<ArgumentValueNode> for RegisteredContextualValueNode
Source§fn from(value: ArgumentValueNode) -> Self
fn from(value: ArgumentValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ConditionalValueNode> for RegisteredContextualValueNode
impl From<ConditionalValueNode> for RegisteredContextualValueNode
Source§fn from(value: ConditionalValueNode) -> Self
fn from(value: ConditionalValueNode) -> 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 RegisteredContextualValueNode
impl From<IdentityValueNode> for RegisteredContextualValueNode
Source§fn from(value: IdentityValueNode) -> Self
fn from(value: IdentityValueNode) -> Self
Converts to this type from the input type.
Source§impl From<PayerValueNode> for RegisteredContextualValueNode
impl From<PayerValueNode> for RegisteredContextualValueNode
Source§fn from(value: PayerValueNode) -> Self
fn from(value: PayerValueNode) -> Self
Converts to this type from the input type.
Source§impl From<PdaSeedValueNode> for RegisteredContextualValueNode
impl From<PdaSeedValueNode> for RegisteredContextualValueNode
Source§fn from(value: PdaSeedValueNode) -> Self
fn from(value: PdaSeedValueNode) -> Self
Converts to this type from the input type.
Source§impl From<PdaValueNode> for RegisteredContextualValueNode
impl From<PdaValueNode> for RegisteredContextualValueNode
Source§fn from(value: PdaValueNode) -> Self
fn from(value: PdaValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ProgramIdValueNode> for RegisteredContextualValueNode
impl From<ProgramIdValueNode> for RegisteredContextualValueNode
Source§fn from(value: ProgramIdValueNode) -> Self
fn from(value: ProgramIdValueNode) -> Self
Converts to this type from the input type.
Source§impl From<RegisteredContextualValueNode> for Node
impl From<RegisteredContextualValueNode> for Node
Source§fn from(value: RegisteredContextualValueNode) -> Self
fn from(value: RegisteredContextualValueNode) -> Self
Converts to this type from the input type.
Source§impl From<ResolverValueNode> for RegisteredContextualValueNode
impl From<ResolverValueNode> for RegisteredContextualValueNode
Source§fn from(value: ResolverValueNode) -> Self
fn from(value: ResolverValueNode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RegisteredContextualValueNode
impl PartialEq for RegisteredContextualValueNode
Source§fn eq(&self, other: &RegisteredContextualValueNode) -> bool
fn eq(&self, other: &RegisteredContextualValueNode) -> bool
Tests for
self and other values to be equal, and is used by ==.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 RegisteredContextualValueNode
impl StructuralPartialEq for RegisteredContextualValueNode
Auto Trait Implementations§
impl Freeze for RegisteredContextualValueNode
impl RefUnwindSafe for RegisteredContextualValueNode
impl Send for RegisteredContextualValueNode
impl Sync for RegisteredContextualValueNode
impl Unpin for RegisteredContextualValueNode
impl UnwindSafe for RegisteredContextualValueNode
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