remove unecessary flag now
This commit is contained in:
parent
c162d76fc1
commit
3f40844268
1 changed files with 5 additions and 5 deletions
|
@ -29,7 +29,7 @@ impl Default for DataCollection {
|
||||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||||
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
||||||
pub struct Provider {
|
pub struct Provider {
|
||||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
order: Option<Vec<String>>,
|
order: Option<Vec<String>>,
|
||||||
#[serde(default = "default_true")]
|
#[serde(default = "default_true")]
|
||||||
allow_fallbacks: bool,
|
allow_fallbacks: bool,
|
||||||
|
@ -37,13 +37,13 @@ pub struct Provider {
|
||||||
require_parameters: bool,
|
require_parameters: bool,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
data_collection: DataCollection,
|
data_collection: DataCollection,
|
||||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
only: Option<Vec<String>>,
|
only: Option<Vec<String>>,
|
||||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
ignore: Option<Vec<String>>,
|
ignore: Option<Vec<String>>,
|
||||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
quantizations: Option<Vec<String>>,
|
quantizations: Option<Vec<String>>,
|
||||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
sort: Option<String>,
|
sort: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue