Skip to content

Commit

Permalink
fix number and bool parameters, optimize regex and templating with la…
Browse files Browse the repository at this point in the history
…zy static
  • Loading branch information
nkzou committed Nov 17, 2023
1 parent 65cec43 commit 68e4591
Show file tree
Hide file tree
Showing 82 changed files with 697 additions and 561 deletions.
14 changes: 7 additions & 7 deletions .generator/src/generator/templates/function_mappings.j2
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub fn collect_function_calls(world: &mut DatadogWorld) {
{%- for version, apis in all_apis.items() %}
{%- for _, operations in apis.items() %}
{%- for _, _, operation in operations %}
world.function_mappings.insert("{{ operation['operationId'] }}".to_string(), test_{{version}}_{{ operation['operationId'] | snake_case }});
world.function_mappings.insert("{{version}}.{{ operation['operationId'] }}".to_string(), test_{{version}}_{{ operation['operationId'] | snake_case }});
{%- endfor %}
{%- endfor %}
{%- endfor %}
Expand All @@ -57,17 +57,17 @@ fn test_{{version}}_{{ operation['operationId'] | snake_case }}(world: &mut Data
{%- for parameter in operationParams %}
{%- set schema = parameter[1] | parameter_schema %}
{%- if parameter[1].required %}
{%- if schema | is_primitive and schema.get("format") == "binary" -%}
let {{ parameter[0] | variable_name }} = _parameters.get("{{ parameter[0] }}").unwrap().as_str().unwrap().as_bytes().to_vec();
{%- else -%}
let {{ parameter[0] | variable_name }} = serde_json::from_value(_parameters.get("{{ parameter[0] }}").unwrap().clone()).unwrap();
{%- endif -%}
{%- else %}
let {{ parameter[0] | variable_name }} = if let Some(param) = _parameters.get("{{ parameter[0] }}") {
{%- if schema | is_primitive -%}
{%- if schema.get("format") == "binary" -%}
{%- if schema | is_primitive and schema.get("format") == "binary" -%}
Some(param.as_str().unwrap().as_bytes().to_vec())
{%- else -%}
Some(param.as_str().unwrap().parse().unwrap())
{%- endif -%}
{%- else -%}
serde_json::from_value(param.clone()).unwrap()
Some(serde_json::from_value(param.clone()).unwrap())
{%- endif -%}
} else {
None
Expand Down
1 change: 0 additions & 1 deletion .generator/src/generator/templates/model.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% include "partial_header.j2" %}
use serde::{Serialize, Deserialize};
{% if "enum" in model -%}
{% include "model_enum.j2" %}
{%- elif "oneOf" in model -%}
Expand Down
17 changes: 16 additions & 1 deletion .generator/src/generator/templates/model_enum.j2
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
{%- if description is defined %}
{%- if model["type"] == "integer" %}
use serde_repr::{Deserialize_repr, Serialize_repr};
{%- else %}
use serde::{Serialize, Deserialize};
{%- endif %}
{% if description is defined %}
{{ description | block_comment }}
{%- endif %}

{%- if model["type"] == "integer" %}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr)]
#[repr({{model | simple_type(False, False)}})]
{%- else %}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
{%- endif %}
pub enum {{name}} {
{%- for index, value in enumerate(model.enum) %}
{%- if model["type"] == "integer" %}
{{ model["x-enum-varnames"][index] or value.upper() }} = {{value}},
{%- else %}
#[serde(rename = "{{value}}")]
{{ model["x-enum-varnames"][index] or value.upper() }},
{%- endif %}
{%- endfor %}
}

Expand Down
1 change: 1 addition & 0 deletions .generator/src/generator/templates/model_simple.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use serde::{Serialize, Deserialize};
use serde_with::skip_serializing_none;

{{ model.description | block_comment }}
Expand Down
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ rustc_version = "0.4.0"
serde = "^1.0"
serde_derive = "^1.0"
serde_json = "^1.0"
serde_repr = "0.1.17"
serde_with = "^2.0"
url = "^2.2"

Expand All @@ -28,7 +29,8 @@ rvcr = { git = "https://github.com/nkzou/rvcr.git", rev = "b8f84bc0dfacd539fdc6f
vcr-cassette = "^2.0"
sha256 = "1.4.0"
tokio = { version = "1.10", features = ["macros", "rt-multi-thread", "time"] }
lazy_static = "1.4.0"

[[test]]
harness = false # allows Cucumber to print output instead of libtest
name = "main"
name = "main"
1 change: 1 addition & 0 deletions src/datadogV1/model/model_access_role.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_aws_namespace.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_content_encoding.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_event_alert_type.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_event_priority.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_logs_sort.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_metric_content_encoding.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_notify_end_state.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_notify_end_type.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_search_slo_timeframe.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
20 changes: 10 additions & 10 deletions src/datadogV1/model/model_service_check_status.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.
use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
use serde_repr::{Deserialize_repr, Serialize_repr};

#[derive(
Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr,
)]
#[repr(i32)]
pub enum ServiceCheckStatus {
#[serde(rename = "0")]
OK,
#[serde(rename = "1")]
WARNING,
#[serde(rename = "2")]
CRITICAL,
#[serde(rename = "3")]
UNKNOWN,
OK = 0,
WARNING = 1,
CRITICAL = 2,
UNKNOWN = 3,
}

impl ToString for ServiceCheckStatus {
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_signal_archive_reason.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_signal_triage_state.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_slo_correction_category.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_slo_correction_type.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_slo_error_timeframe.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_slo_state.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_slo_timeframe.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_slo_type.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
14 changes: 8 additions & 6 deletions src/datadogV1/model/model_slo_type_numeric.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.
use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
use serde_repr::{Deserialize_repr, Serialize_repr};

#[derive(
Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize_repr, Deserialize_repr,
)]
#[repr(i32)]
pub enum SLOTypeNumeric {
#[serde(rename = "0")]
MONITOR,
#[serde(rename = "1")]
METRIC,
MONITOR = 0,
METRIC = 1,
}

impl ToString for SLOTypeNumeric {
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_usage_attribution_sort.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_usage_metric_category.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_usage_reports_type.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_usage_sort.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_usage_sort_direction.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV1/model/model_webhooks_integration_encoding.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV2/model/model_apm_retention_filter_type.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV2/model/model_audit_logs_event_type.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
1 change: 1 addition & 0 deletions src/datadogV2/model/model_audit_logs_response_status.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-Present Datadog, Inc.

use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
Expand Down
Loading

0 comments on commit 68e4591

Please sign in to comment.