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