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