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