pub struct NodeSlice {
pub node_type: String,
pub value: Option<Value>,
pub status: NodeSnapshotStatus,
pub deps: Vec<String>,
}Expand description
Per-node state within a snapshot.
Fields§
§node_type: StringNode kind: "state", "derived", "dynamic", "producer",
"operator".
value: Option<Value>Serialized cache value. None when the cache is sentinel
(node has never emitted DATA).
status: NodeSnapshotStatusNode lifecycle status.
deps: Vec<String>Dependency names in declaration order (empty for state/producer).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeSlice
impl<'de> Deserialize<'de> for NodeSlice
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
Auto Trait Implementations§
impl Freeze for NodeSlice
impl RefUnwindSafe for NodeSlice
impl Send for NodeSlice
impl Sync for NodeSlice
impl Unpin for NodeSlice
impl UnsafeUnpin for NodeSlice
impl UnwindSafe for NodeSlice
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