pub struct MapValueNode {
pub entries: Vec<MapEntryValueNode>,
}Fields§
§entries: Vec<MapEntryValueNode>Implementations§
Source§impl MapValueNode
impl MapValueNode
pub fn new(entries: Vec<MapEntryValueNode>) -> Self
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<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<MapValueNode> for InstructionInputValueNode
impl From<MapValueNode> for InstructionInputValueNode
Source§fn from(value: MapValueNode) -> Self
fn from(value: MapValueNode) -> Self
Converts to this type from the input type.
Source§impl From<MapValueNode> for Node
impl From<MapValueNode> for Node
Source§fn from(val: MapValueNode) -> Self
fn from(val: MapValueNode) -> Self
Converts to this type from the input type.
Source§impl From<MapValueNode> for PdaSeedValueValueNode
impl From<MapValueNode> for PdaSeedValueValueNode
Source§fn from(value: MapValueNode) -> Self
fn from(value: MapValueNode) -> Self
Converts to this type from the input type.
Source§impl From<MapValueNode> for RegisteredValueNode
impl From<MapValueNode> for RegisteredValueNode
Source§fn from(value: MapValueNode) -> Self
fn from(value: MapValueNode) -> Self
Converts to this type from the input type.
Source§impl From<MapValueNode> for ValueNode
impl From<MapValueNode> for ValueNode
Source§fn from(value: MapValueNode) -> Self
fn from(value: MapValueNode) -> Self
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>) -> Self
fn from(items: Vec<MapEntryValueNode>) -> Self
Converts to this type from the input type.
Source§impl NodeTrait for MapValueNode
impl NodeTrait for MapValueNode
const KIND: &'static str = "mapValueNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for MapValueNode
impl PartialEq for MapValueNode
Source§impl Serialize for MapValueNode
impl Serialize for MapValueNode
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