pub struct ArrayValueNode {
pub items: Vec<ValueNode>,
}
Fields§
§items: Vec<ValueNode>
Implementations§
Source§impl ArrayValueNode
impl ArrayValueNode
pub fn new(items: Vec<ValueNode>) -> ArrayValueNode
Trait Implementations§
Source§impl Clone for ArrayValueNode
impl Clone for ArrayValueNode
Source§fn clone(&self) -> ArrayValueNode
fn clone(&self) -> ArrayValueNode
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 ArrayValueNode
impl Debug for ArrayValueNode
Source§impl<'de> Deserialize<'de> for ArrayValueNode
impl<'de> Deserialize<'de> for ArrayValueNode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArrayValueNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArrayValueNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ArrayValueNode> for InstructionInputValueNode
impl From<ArrayValueNode> for InstructionInputValueNode
Source§fn from(value: ArrayValueNode) -> InstructionInputValueNode
fn from(value: ArrayValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<ArrayValueNode> for Node
impl From<ArrayValueNode> for Node
Source§fn from(val: ArrayValueNode) -> Node
fn from(val: ArrayValueNode) -> Node
Converts to this type from the input type.
Source§impl From<ArrayValueNode> for PdaSeedValueValueNode
impl From<ArrayValueNode> for PdaSeedValueValueNode
Source§fn from(value: ArrayValueNode) -> PdaSeedValueValueNode
fn from(value: ArrayValueNode) -> PdaSeedValueValueNode
Converts to this type from the input type.
Source§impl From<ArrayValueNode> for RegisteredValueNode
impl From<ArrayValueNode> for RegisteredValueNode
Source§fn from(value: ArrayValueNode) -> RegisteredValueNode
fn from(value: ArrayValueNode) -> RegisteredValueNode
Converts to this type from the input type.
Source§impl From<ArrayValueNode> for ValueNode
impl From<ArrayValueNode> for ValueNode
Source§fn from(value: ArrayValueNode) -> ValueNode
fn from(value: ArrayValueNode) -> ValueNode
Converts to this type from the input type.
Source§impl NodeTrait for ArrayValueNode
impl NodeTrait for ArrayValueNode
Source§impl PartialEq for ArrayValueNode
impl PartialEq for ArrayValueNode
Source§impl Serialize for ArrayValueNode
impl Serialize for ArrayValueNode
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 ArrayValueNode
Auto Trait Implementations§
impl Freeze for ArrayValueNode
impl RefUnwindSafe for ArrayValueNode
impl Send for ArrayValueNode
impl Sync for ArrayValueNode
impl Unpin for ArrayValueNode
impl UnwindSafe for ArrayValueNode
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