pub struct StructValueNode {
pub fields: Vec<StructFieldValueNode>,
}Fields§
§fields: Vec<StructFieldValueNode>Implementations§
Source§impl StructValueNode
impl StructValueNode
pub fn new(fields: Vec<StructFieldValueNode>) -> Self
Trait Implementations§
Source§impl Clone for StructValueNode
impl Clone for StructValueNode
Source§fn clone(&self) -> StructValueNode
fn clone(&self) -> StructValueNode
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 StructValueNode
impl Debug for StructValueNode
Source§impl<'de> Deserialize<'de> for StructValueNode
impl<'de> Deserialize<'de> for StructValueNode
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<StructValueNode> for EnumVariantData
impl From<StructValueNode> for EnumVariantData
Source§fn from(value: StructValueNode) -> Self
fn from(value: StructValueNode) -> Self
Converts to this type from the input type.
Source§impl From<StructValueNode> for InstructionInputValueNode
impl From<StructValueNode> for InstructionInputValueNode
Source§fn from(value: StructValueNode) -> Self
fn from(value: StructValueNode) -> Self
Converts to this type from the input type.
Source§impl From<StructValueNode> for Node
impl From<StructValueNode> for Node
Source§fn from(val: StructValueNode) -> Self
fn from(val: StructValueNode) -> Self
Converts to this type from the input type.
Source§impl From<StructValueNode> for PdaSeedValueValueNode
impl From<StructValueNode> for PdaSeedValueValueNode
Source§fn from(value: StructValueNode) -> Self
fn from(value: StructValueNode) -> Self
Converts to this type from the input type.
Source§impl From<StructValueNode> for RegisteredValueNode
impl From<StructValueNode> for RegisteredValueNode
Source§fn from(value: StructValueNode) -> Self
fn from(value: StructValueNode) -> Self
Converts to this type from the input type.
Source§impl From<StructValueNode> for ValueNode
impl From<StructValueNode> for ValueNode
Source§fn from(value: StructValueNode) -> Self
fn from(value: StructValueNode) -> Self
Converts to this type from the input type.
Source§impl From<Vec<StructFieldValueNode>> for StructValueNode
impl From<Vec<StructFieldValueNode>> for StructValueNode
Source§fn from(items: Vec<StructFieldValueNode>) -> Self
fn from(items: Vec<StructFieldValueNode>) -> Self
Converts to this type from the input type.
Source§impl NodeTrait for StructValueNode
impl NodeTrait for StructValueNode
const KIND: &'static str = "structValueNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for StructValueNode
impl PartialEq for StructValueNode
Source§impl Serialize for StructValueNode
impl Serialize for StructValueNode
impl StructuralPartialEq for StructValueNode
Auto Trait Implementations§
impl Freeze for StructValueNode
impl RefUnwindSafe for StructValueNode
impl Send for StructValueNode
impl Sync for StructValueNode
impl Unpin for StructValueNode
impl UnwindSafe for StructValueNode
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