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