codama-nodes 0.9.3

Node specifications and helpers for the Codama standard
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::InstructionByteDeltaValue;
use codama_nodes_derive::node;

#[node]
pub struct InstructionByteDeltaNode {
    // Data.
    pub with_header: bool,
    #[serde(skip_serializing_if = "crate::is_default")]
    pub subtract: Option<bool>,

    // Children.
    pub value: Box<InstructionByteDeltaValue>,
}