Skip to content

Commit

Permalink
fix build field error
Browse files Browse the repository at this point in the history
  • Loading branch information
haixuanTao committed Mar 16, 2023
1 parent adeaed3 commit 47e540f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libraries/core/src/descriptor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ impl Descriptor {
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct Node {
pub id: NodeId,
pub name: Option<String>,
Expand All @@ -114,7 +113,6 @@ pub enum NodeKind {
}

#[derive(Debug, Serialize, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct ResolvedNode {
pub id: NodeId,
pub name: Option<String>,
Expand All @@ -141,15 +139,13 @@ pub struct RuntimeNode {
}

#[derive(Debug, Serialize, Deserialize, Clone)]
#[serde(deny_unknown_fields)]
pub struct OperatorDefinition {
pub id: OperatorId,
#[serde(flatten)]
pub config: OperatorConfig,
}

#[derive(Debug, Serialize, Deserialize, Clone)]
#[serde(deny_unknown_fields)]
pub struct SingleOperatorDefinition {
/// ID is optional if there is only a single operator.
pub id: Option<OperatorId>,
Expand Down

0 comments on commit 47e540f

Please sign in to comment.