pub struct StructValueNode {
pub fields: Vec<StructFieldValueNode>,
}Fields§
§fields: Vec<StructFieldValueNode>Implementations§
Source§impl StructValueNode
impl StructValueNode
pub fn new(fields: Vec<StructFieldValueNode>) -> StructValueNode
Trait Implementations§
Source§impl Clone for StructValueNode
impl Clone for StructValueNode
Source§fn clone(&self) -> StructValueNode
fn clone(&self) -> StructValueNode
Returns a copy 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<StructValueNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StructValueNode, <__D as Deserializer<'de>>::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) -> EnumVariantData
fn from(value: StructValueNode) -> EnumVariantData
Converts to this type from the input type.
Source§impl From<StructValueNode> for InstructionInputValueNode
impl From<StructValueNode> for InstructionInputValueNode
Source§fn from(value: StructValueNode) -> InstructionInputValueNode
fn from(value: StructValueNode) -> InstructionInputValueNode
Converts to this type from the input type.
Source§impl From<StructValueNode> for Node
impl From<StructValueNode> for Node
Source§fn from(val: StructValueNode) -> Node
fn from(val: StructValueNode) -> Node
Converts to this type from the input type.
Source§impl From<StructValueNode> for RegisteredValueNode
impl From<StructValueNode> for RegisteredValueNode
Source§fn from(value: StructValueNode) -> RegisteredValueNode
fn from(value: StructValueNode) -> RegisteredValueNode
Converts to this type from the input type.
Source§impl From<StructValueNode> for ValueNode
impl From<StructValueNode> for ValueNode
Source§fn from(value: StructValueNode) -> ValueNode
fn from(value: StructValueNode) -> ValueNode
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>) -> StructValueNode
fn from(items: Vec<StructFieldValueNode>) -> StructValueNode
Converts to this type from the input type.
Source§impl NodeTrait for StructValueNode
impl NodeTrait for StructValueNode
Source§impl PartialEq for StructValueNode
impl PartialEq for StructValueNode
Source§impl Serialize for StructValueNode
impl Serialize for StructValueNode
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 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