nominal-api 0.1239.0

API bindings for the Nominal platform
Documentation
/// Shift by the start timestamp of the first event (ascending) from this query whose event
/// time lies in the tagging interval [start, end). Query may differ from tagging events.
#[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 EventTimeShift {
    #[builder(
        custom(
            type = super::super::super::rids::api::ComputeEventQuery,
            convert = Box::new
        )
    )]
    #[serde(rename = "query")]
    query: Box<super::super::super::rids::api::ComputeEventQuery>,
}
impl EventTimeShift {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(query: super::super::super::rids::api::ComputeEventQuery) -> Self {
        Self::builder().query(query).build()
    }
    #[inline]
    pub fn query(&self) -> &super::super::super::rids::api::ComputeEventQuery {
        &*self.query
    }
}