nominal-api 0.1239.0

API bindings for the Nominal platform
Documentation
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct Cartesian3dUnitResult {
    #[builder(custom(type = super::UnitResult, convert = Box::new))]
    #[serde(rename = "x")]
    x: Box<super::UnitResult>,
    #[builder(custom(type = super::UnitResult, convert = Box::new))]
    #[serde(rename = "y")]
    y: Box<super::UnitResult>,
    #[builder(custom(type = super::UnitResult, convert = Box::new))]
    #[serde(rename = "z")]
    z: Box<super::UnitResult>,
}
impl Cartesian3dUnitResult {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        x: super::UnitResult,
        y: super::UnitResult,
        z: super::UnitResult,
    ) -> Self {
        Self::builder().x(x).y(y).z(z).build()
    }
    #[inline]
    pub fn x(&self) -> &super::UnitResult {
        &*self.x
    }
    #[inline]
    pub fn y(&self) -> &super::UnitResult {
        &*self.y
    }
    #[inline]
    pub fn z(&self) -> &super::UnitResult {
        &*self.z
    }
}