Skip to main content

nominal_api/conjure/objects/scout/dataexport/api/
none_strategy.rs

1/// Do nothing. The value of a channel will be empty at
2/// timestamps not present in its original time series.
3#[derive(
4    Debug,
5    Clone,
6    conjure_object::serde::Serialize,
7    conjure_object::serde::Deserialize,
8    PartialEq,
9    Eq,
10    PartialOrd,
11    Ord,
12    Hash,
13    Copy
14)]
15#[serde(crate = "conjure_object::serde")]
16#[conjure_object::private::staged_builder::staged_builder]
17#[builder(crate = conjure_object::private::staged_builder, update, inline)]
18pub struct NoneStrategy {}
19impl NoneStrategy {
20    /// Constructs a new instance of the type.
21    #[inline]
22    pub fn new() -> Self {
23        Self::builder().build()
24    }
25}