nominal-api-conjure 0.1443.0

Conjure HTTP API bindings for the Nominal platform
Documentation
/// Matches when lower < value < upper; both bounds are exclusive.
/// Bounds must be finite and lower must be strictly less than upper.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    conjure_object::private::DeriveWith,
    Copy
)]
#[serde(crate = "conjure_object::serde")]
#[derive_with(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct NumericBetweenPredicate {
    #[serde(rename = "lower")]
    #[derive_with(with = conjure_object::private::DoubleWrapper)]
    lower: f64,
    #[serde(rename = "upper")]
    #[derive_with(with = conjure_object::private::DoubleWrapper)]
    upper: f64,
}
impl NumericBetweenPredicate {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(lower: f64, upper: f64) -> Self {
        Self::builder().lower(lower).upper(upper).build()
    }
    #[inline]
    pub fn lower(&self) -> f64 {
        self.lower
    }
    #[inline]
    pub fn upper(&self) -> f64 {
        self.upper
    }
}